[llvm] [AMDGPU] Add buffer.fat.ptr.load.lds intrinsic wrapping raw rsrc version (PR #133015)
Alan Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 1 16:34:34 PDT 2025
================
@@ -2245,6 +2246,26 @@ PtrParts SplitPtrStructs::visitIntrinsicInst(IntrinsicInst &I) {
SplitUsers.insert(&I);
return {NewRsrc, Off};
}
+ case Intrinsic::amdgcn_buffer_fat_ptr_load_lds: {
+ Value *BufferPtr = I.getArgOperand(0);
+ assert(isSplitFatPtr(BufferPtr->getType()) &&
+ "amdgcn.buffer.fat.pointer.load.lds has a buffer fat pointer as "
----------------
lialan wrote:
Is this "has a buffer fat pointer as argument 0" an error message? I think you mean "should have ... as argument 0"?
https://github.com/llvm/llvm-project/pull/133015
More information about the llvm-commits
mailing list