[llvm] [AMDGPU] Add no return image_sample intrinsics and instructions (PR #97542)

Carl Ritson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 02:19:38 PDT 2024


================
@@ -970,6 +984,21 @@ defset list<AMDGPUImageDimIntrinsic> AMDGPUImageDimIntrinsics = {
         AMDGPUImageDMaskIntrinsic;
   }
 
+  multiclass AMDGPUImageDimSampleNoReturnDims<string opmod,
+                                      AMDGPUSampleVariant sample> {
+    foreach dim = AMDGPUDims.NoMsaa in {
+      def !strconcat(NAME, "_", dim.Name) : AMDGPUImageDimIntrinsic<
----------------
perlfu wrote:

The attributes are different, so I don't think they can share signatures?

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


More information about the llvm-commits mailing list