[PATCH] D117844: [AMDGPU] Prevent aliasing of SrcC and Dst in MAI

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 14:40:57 PST 2022


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AMDGPU/VOP3PInstructions.td:391
   let Ins64 = (ins Src0RC64:$src0, Src1RC64:$src1, Src2RC64:$src2, cbsz:$cbsz, abid:$abid, blgp:$blgp);
+  bit NoDstOverlap = !gt(DstVT.Size, 128); // Dst and SrcC cannot partially overlap.
 }
----------------
Probably should add a comment explaining how the real restriction is less strict than earlyclobber/tied imply


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117844/new/

https://reviews.llvm.org/D117844



More information about the llvm-commits mailing list