[clang] [llvm] [AMDGPU] Add a new builtin type for image descriptor rsrc (PR #160258)
Rana Pratap Reddy via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 25 22:48:05 PDT 2025
ranapratap55 wrote:
> But @ranapratap55 said it is not a pointer.
%tmp = tail call float @llvm.amdgcn.image.load.2d.f32.i32(i32 noundef 1, i32 %arg1, i32 %arg2, <8 x i32> %arg3, i32 noundef 0, i32 noundef 0)
intrinsic accepts texture type as <8 x i32>, so in the builtin def also I have defined as v8i32.
https://github.com/llvm/llvm-project/pull/160258
More information about the cfe-commits
mailing list