llvm-project
8f4f7d51 - AMDGPU: Legalize SGPR tied src2 for V_FMAC_F16 in moveToVALU (#231146)

Commit
45 days ago
AMDGPU: Legalize SGPR tied src2 for V_FMAC_F16 in moveToVALU (#231146) When S_FMAC_F16 is moved to the VALU, it becomes V_FMAC_F16_t16_e64 or V_FMAC_F16_fake16_e64. legalizeOperandsVOP3 only forced the tied src2 into a VGPR for V_FMAC_F32_e64 and V_FMAC_F16_e64, so an SGPR accumulator fit within the constant bus limit was left in place, producing a verifier error. Check for any SGPR src2 tied to the result instead. This was exposed by frem.ll after converting it to use inreg arguments. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading