[Mlir-commits] [mlir] [mlir][spirv] Add basic support for SPV_EXT_replicated_composites (PR #147067)

Igor Wodiany llvmlistbot at llvm.org
Tue Jul 8 02:12:17 PDT 2025


================
@@ -165,6 +165,45 @@ func.func @coop_matrix_const_wrong_type() -> () {
 
 // -----
 
+//===----------------------------------------------------------------------===//
+// spirv.EXT.ConstantCompositeReplicate
+//===----------------------------------------------------------------------===//
+
+spirv.module Logical GLSL450 {
+  spirv.func @ccr() -> i32 "None" {
----------------
IgWod-IMG wrote:

I don't think you need `spirv.module` for `spirv.EXT.ConstantCompositeReplicate` tests. It'd be more consistent to use just `func.func` as above.

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


More information about the Mlir-commits mailing list