[Mlir-commits] [mlir] [mlir][SPIRV] Add support for dense_resource in arith to spirv (PR #91318)

Kunwar Grover llvmlistbot at llvm.org
Wed May 15 07:29:16 PDT 2024


================
@@ -229,16 +230,29 @@ struct ConstantCompositeOpPattern final
     if (!srcType || srcType.getNumElements() == 1)
       return failure();
 
-    // arith.constant should only have vector or tenor types.
+    // arith.constant should only have vector or tensor types.
     assert((isa<VectorType, RankedTensorType>(srcType)));
----------------
Groverkss wrote:

Sounds good to me.

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


More information about the Mlir-commits mailing list