The region should yield the first argument (input) not the last argument
(output). Also fix a few tests that were affected by this bug.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D136924  
[mlir][linalg] Fix linalg.transpose region builder. ClosedPublic Authored by olegshyshkov on Oct 28 2022, 1:29 AM. 
Details Summary The region should yield the first argument (input) not the last argument 
Diff Detail 
 Event TimelineHerald added subscribers: • pcwang-thead, limo1996, stephenneuendorffer, nicolasvasilache.  ·  View Herald Transcript olegshyshkov added a parent revision: D136926: [mlir] Change scf::LoopNest to store 'results'..Oct 28 2022, 1:34 AM This revision is now accepted and ready to land.Oct 28 2022, 1:46 AM This revision was landed with ongoing or failed builds.Oct 28 2022, 2:20 AM Closed by commit rGacdd576d0532: [mlir][linalg] Fix linalg.transpose region builder. (authored by olegshyshkov).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 471453 mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
 mlir/test/Dialect/Linalg/vectorization.mlir
 mlir/test/Interfaces/TilingInterface/lower-to-loops-using-interface.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||