[PATCH] D22838: AMDGPU/SI: Implement amdgcn image intrinsics

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 13:30:11 PDT 2016


tstellarAMD added inline comments.

================
Comment at: include/llvm/IR/IntrinsicsAMDGPU.td:221-228
@@ -218,1 +220,10 @@
 
+class AMDGPUImageSample : Intrinsic <
+    [llvm_v4f32_ty],    // vdata(VGPR)
+    [llvm_anyint_ty,    // vaddr(VGPR)
+     llvm_v8i32_ty,     // rsrc(SGPR)
+     llvm_v4i32_ty,     // sampler(SGPR)
+     llvm_i32_ty,       // dmask(imm)
+     llvm_i32_ty],      // flags(imm)
+    [IntrNoMem]>;
+
----------------
Moving the sample intrinsics to this file is unrelated to the AMDGPUImageLoad/AMDGPUImageStore changes, so this should be done in a separate patch.


https://reviews.llvm.org/D22838





More information about the llvm-commits mailing list