Extend the unit test with an option for skipping partial iterations during loop peeling.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp | ||
---|---|---|
608 | Check if the loop has already peeled. | |
613 | If the loop nests is partial iterations, then don't peel. | |
623–624 | one more line after 623? | |
638–639 | If set to true, TiledLoopOps that are the partial iteration of another peeled TiledLoopOp will not be peeled. |
Thanks, just a nit.
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp | ||
---|---|---|
654 | These two walks can be combined. |
address comments
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp | ||
---|---|---|
613 | Reformulated: The loop nest represented by the TiledLoopOp should not be peeled if one of its loops is a partial iteration. |
Check if the loop has already peeled.