[Mlir-commits] [mlir] [mlir][vector] Test that transpose folds keep per-dim info (PR #219611)

Jianhui Li llvmlistbot at llvm.org
Fri Aug 28 22:28:10 PDT 2026


================

----------------
Jianhui-Li wrote:

To me this looks like the following and the check should pass. 

// CHECK-SAME: propagated_tags = array<i64: -1, -1, 111>
  %0 = vector.broadcast %arg0 : vector<7xf32> to vector<2x3x7xf32> {dim_tags = array<i64: 111>}
  %1 = vector.transpose %0, [1, 0, 2] {dim_tags = array<i64: -1, -1, 111>}
      : vector<2x3x7xf32> to vector<3x2x7xf32>

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


More information about the Mlir-commits mailing list