[Mlir-commits] [mlir] [mlir][spirv] Add conversion pass to rewrite splat constant composite… (PR #148910)

Mohammadreza Ameri Mahabadian llvmlistbot at llvm.org
Thu Jul 17 01:51:25 PDT 2025


================
@@ -78,7 +78,7 @@ def SPIRVWebGPUPreparePass : Pass<"spirv-webgpu-prepare", "spirv::ModuleOp"> {
 }
 
 def SPIRVReplicatedConstantCompositePass
-    : Pass<"spirv-replicated-const-composite", "spirv::ModuleOp"> {
+    : Pass<"spirv-convert-to-replicated-const-composite", "spirv::ModuleOp"> {
   let summary = "Convert splat composite constants and spec constants to"
----------------
mahabadm wrote:

I just added space at the end of the lines. I tried `[{` syntax but for some reason tablegen generates wrong cpp code with that.

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


More information about the Mlir-commits mailing list