[llvm] [AMDGPU] RewriteMFMAFormStage: use isMFMA instead of isMAI (PR #199976)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 02:25:26 PDT 2026
xgxanq wrote:
> > “We now should materialize constants with the AV_MOVIMM pseudos, and the register to register cases should use COPY”
> > I don't understand this sentence.
>
> The V_ACCVGPR instructions should be avoided until very late, and only used as an implementation detail when expanding AV_MOVIMM or COPY pseudos
I got it wrong earlier: the SIFoldOperands pass can emit concrete V_ACCVGPR_READ_B32_e64 instructions. But in that scenario, even though the dst of V_ACCVGPR_READ_B32_e64 is a VGPR, it won’t be used by anything related to this rewrite.
https://github.com/llvm/llvm-project/pull/199976
More information about the llvm-commits
mailing list