[Mlir-commits] [mlir] [MLIR][Vector]Add constraints to vector.shape_cast(constant) -> constant (PR #147691)

Mengmeng Sun llvmlistbot at llvm.org
Tue Jul 15 03:15:08 PDT 2025


================
@@ -1002,6 +1002,18 @@ func.func @fold_broadcast_shapecast(%arg0: vector<4xf32>) -> vector<4xf32> {
 
 // -----
 
+// CHECK-LABEL: func @canonicalize_extract_shapecast_different_element_type
----------------
MengmSun wrote:

Yes it's OK. Updated.

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


More information about the Mlir-commits mailing list