Adapt the Fourier Motzkin elimination to take into account affine computations happening outside of the cloned loop nest.
Depends On D112713
| Paths 
 |  Differential  D112838  
[mlir][linalg] Improve hoist padding buffer size computation. ClosedPublic Authored by gysit on Oct 29 2021, 11:49 AM. 
Details Summary Adapt the Fourier Motzkin elimination to take into account affine computations happening outside of the cloned loop nest. Depends On D112713 
Diff Detail 
 Event TimelineHerald added subscribers: Groverkss, wenzhicui, wrengr and 21 others.  ·  View Herald TranscriptOct 29 2021, 11:49 AM gysit retitled this revision from Wip: [mlir][linalg] Improve hoist padding buffer size computation. to [mlir][linalg] Improve hoist padding buffer size computation..Nov 4 2021, 4:12 AM Comment Actions Very nice! 
 This revision is now accepted and ready to land.Nov 4 2021, 7:00 AM Comment Actions Address comments by improving comments and making the index slice computation more concise. gysit added a child revision: D113382: [mlir][linalg] Remove padding from tiling options..Nov 8 2021, 12:12 AM Closed by commit rG1726c956aea0: [mlir][linalg] Improve hoist padding buffer size computation. (authored by gysit).  ·  Explain WhyNov 8 2021, 4:03 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 385409 mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
 mlir/test/Dialect/Linalg/hoist-padding.mlir
 mlir/test/Dialect/Linalg/pad-and-hoist.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Similar refactoring, comment, checkm re side-effects should be done before landing please.