[llvm] [AMDGPU] Add IntrArgMemOnly, WriteOnly on LDS Ptr for raw.buffer.load.lds and struct.buffer.load.lds (PR #154306)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 19 08:40:26 PDT 2025
================
@@ -1991,7 +1991,9 @@ class AMDGPURawBufferLoadLDS : Intrinsic <
// gfx12+: bits [0-2] = th, bits [3-4] = scope,
// bit 6 = swz
// all: volatile op (bit 31, stripped at lowering)
- [IntrWillReturn, NoCapture<ArgIndex<1>>, ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<5>>,
+ [IntrWillReturn, IntrArgMemOnly,
----------------
arsenm wrote:
Yes, that's one of the problems. All users should migrate to the pointer buffer intrinsics, it's not worth doing anything with the legacy vector descriptors
https://github.com/llvm/llvm-project/pull/154306
More information about the llvm-commits
mailing list