See bug 36356: https://bugs.llvm.org/show_bug.cgi?id=36356
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This change breaks SDWA peepholer which started to produce code with undefined physical registers:
- Bad machine code: Using an undefined physical register ***
- function: select_v2f16
- instruction: %70:vgpr_32 = V_CNDMASK_B32_sdwa 0, %42:vgpr_32, 0, %37:vgpr_32, 0, 5, 0, 5, 5, implicit $vcc, implicit $exec
- operand 10: implicit $vcc
As a temporary solution I disabled SDWA peepholer for V_CNDMASK_B32.
I propose to integrate this patch as is and file a bug for this issue to be resolved separately.
Is this acceptable?