[Mlir-commits] [mlir] [mlir][spirv] Add definition for selected sample operations (PR #129558)

Andrea Faulds llvmlistbot at llvm.org
Fri Mar 7 06:06:44 PST 2025


================
@@ -115,7 +121,7 @@ def SPIRV_ImageDrefGatherOp : SPIRV_Op<"ImageDrefGather",
 
   let assemblyFormat = [{
     $sampled_image `,` $coordinate `,` $dref custom<ImageOperands>($image_operands) ( `(` $operand_arguments^ `)` )? attr-dict 
-    `:` type($sampled_image) `,` type($coordinate) `,` type($dref) ( `(` type($operand_arguments)^ `)` )?
+    `:` type($sampled_image) `,` type($coordinate) `,` type($dref) ` ` ( `(` type($operand_arguments)^ `)` )?
----------------
andfau-amd wrote:

Is the addition of an explicit space here purely aesthetic?

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


More information about the Mlir-commits mailing list