You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a code quality issue that has been affecting some graphics workloads recently. The LLPC frontend tends to insert freeze instructions between cmp and conditional br instructions, to avoid undefined behavior if the condition is undef or poison. Then InstCombine moves the freeze instructions into places where they interfere with optimizations like FMA formation.
With this test case I get this ISA including a v_fma_f32 instruction:
This is a code quality issue that has been affecting some graphics workloads recently. The LLPC frontend tends to insert `freeze` instructions between `cmp` and conditional `br` instructions, to avoid undefined behavior if the condition is undef or poison. Then InstCombine moves the `freeze` instructions into places where they interfere with optimizations like FMA formation.
With this test case I get this ISA including a v_fma_f32 instruction:
This is a code quality issue that has been affecting some graphics workloads recently. The LLPC frontend tends to insert
freeze
instructions betweencmp
and conditionalbr
instructions, to avoid undefined behavior if the condition is undef or poison. Then InstCombine moves thefreeze
instructions into places where they interfere with optimizations like FMA formation.With this test case I get this ISA including a
v_fma_f32
instruction:But after running it through InstCombine, I get separate
v_mul_f32
andv_add_f32
instructions:The text was updated successfully, but these errors were encountered: