This revision removes the reliance of Promotion on linalg.slice which is meant
for the rank-reducing case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D77676
[mlir][Linalg] Use subview instead of linalg.slice in Promotion.cpp ClosedPublic Authored by nicolasvasilache on Apr 7 2020, 12:41 PM.
Details Summary This revision removes the reliance of Promotion on linalg.slice which is meant
Diff Detail
Event Timelineasaadaldien added inline comments. This revision is now accepted and ready to land.Apr 7 2020, 3:53 PM Closed by commit rG3cb1f35df2a5: [mlir][Linalg] Use subview instead of linalg.slice in Promotion.cpp (authored by nicolasvasilache). · Explain WhyApr 7 2020, 9:13 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 255888 mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
mlir/test/Dialect/Linalg/promote.mlir
|
What about return size here if (!llvm::any_of(affineMinOp.getAffineMap().getResults()) is a an AffineConstantExpr ?