[Mlir-commits] [mlir] [mlir][vector] Preserve dynamic mask bounds in shape cast folding (PR #229699)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Wed Oct 14 03:18:49 PDT 2026
================
@@ -3590,6 +3607,40 @@ func.func @fold_shape_cast_with_mask_leading_unit(%arg0: tensor<1x?xf32>) -> vec
// -----
+// CHECK-LABEL: func.func @fold_shape_cast_with_mask_leading_unit_dynamic(
+// CHECK-SAME: %[[N:.*]]: index) -> vector<8xi1> {
+func.func @fold_shape_cast_with_mask_leading_unit_dynamic(%n: index) -> vector<8xi1> {
----------------
banach-space wrote:
Same comment as for `@fold_shape_cast_with_mask_trailing_unit_dynamic(`
https://github.com/llvm/llvm-project/pull/229699
More information about the Mlir-commits
mailing list