[llvm] [AMDGPU] Lower loads and stores for address space 13 (PR #209541)

Gheorghe-Teodor Bercea via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 22:07:13 PDT 2026


================
@@ -307,6 +308,11 @@ bool SIInstrInfo::isSrc1DPPRevOpcode(const GCNSubtarget &ST, uint32_t Opcode) {
 bool SIInstrInfo::resultDependsOnExec(const MachineInstr &MI) const {
   assert(isVALU(MI, /*AllowLDSDMA=*/true));
 
+  // Which lanes are active is part of what such an access does, so its implicit
+  // use of EXEC is not ignorable; otherwise it could move across an EXEC write.
+  if (isa<AMDGPUMI::VLoadStoreIdxInst>(MI))
+    return true;
+
----------------
doru1004 wrote:

Removed

https://github.com/llvm/llvm-project/pull/209541


More information about the llvm-commits mailing list