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

Igor Wodiany llvmlistbot at llvm.org
Wed Jul 16 08:14:43 PDT 2025


================
@@ -77,4 +77,11 @@ def SPIRVWebGPUPreparePass : Pass<"spirv-webgpu-prepare", "spirv::ModuleOp"> {
                 "and replacing with supported ones";
 }
 
+def SPIRVReplicatedConstantCompositePass
+    : Pass<"spirv-convert-to-replicated-const-composite", "spirv::ModuleOp"> {
+  let summary = "Convert splat composite constants and spec constants to"
----------------
IgWod-IMG wrote:

I think we need a space before `"` (and line below), otherwise we'll end with `tocorresponding` and `bySPV_EXT_replicated_composites`. But I may be wrong, so please double check. Defs above have a space though.

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


More information about the Mlir-commits mailing list