Skip to content

intel/compiler: Don't create 64-bit src1 immediates in opt_peephole_sel

Kenneth Graunke requested to merge kwg/mesa:coalesce-fix into master

64-bit immediates are only allowed as src0. Long ago, we decided to avoid constructing such illegal situations in the IR, rather than allowing them in the IR but then promoting bogus immediates to GRFs later. So, we need to fix opt_peephole_sel to not put 64-bit immediates as src1 of the new SEL instruction.

Fixes: a4b36cd3 ("intel/fs: Coalesce when the src live range is contained in the dst") Closes: #2816 (closed)

Merge request reports