We were missing to check for transpose when folding.
Also add a new file to test folding independently of canonicalization as canonicalization was hiding the bug.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140533
[mlir][vector] Fix bug in extractOp folding ClosedPublic Authored by ThomasRaoux on Dec 22 2022, 1:57 AM.
Details Summary We were missing to check for transpose when folding.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 22 2022, 9:31 AM Closed by commit rG1a0453eb44cd: [mlir][vector] Fix bug in extractOp folding (authored by ThomasRaoux, committed by antiagainst). · Explain WhyDec 22 2022, 2:53 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 484973 mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/test/Dialect/Vector/constant-fold.mlir
|