For such cases, the transpose op can be elided.
Depends on D122902
Paths
| Differential D122903
[mlir][vector] Fold transpose(broadcast(<scalar>)) ClosedPublic Authored by antiagainst on Apr 1 2022, 7:09 AM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 1 2022, 10:11 AM Closed by commit rGa480d75fe48d: [mlir][vector] Fold transpose(broadcast(<scalar>)) (authored by antiagainst). · Explain WhyApr 1 2022, 11:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 419747 mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/test/Dialect/Vector/canonicalize.mlir
|