This patch adds the knobs to use peeling in the codegen strategy
infrastructure.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h | ||
---|---|---|
975–976 | I would add a comment here saying that the order in which nested loops appear in the SmallVector affects the peeling. I.e., whether partial iterations will be peeled or not. (That's why it is a SmallVector and not a DenseSet.) | |
983 | Can this struct go into an anonymous namespace in the .cpp file? | |
1003 | nit: Both fields can be const. | |
mlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp | ||
290 | if (failed(apply....)) signalPassFailure(); |
Comment Actions
Thanks. I'll commit it in a while.
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h | ||
---|---|---|
983 | I'm not sure but probably better to keep it here for consistency with the other transformations that have a similar ones in this file? |
I would add a comment here saying that the order in which nested loops appear in the SmallVector affects the peeling. I.e., whether partial iterations will be peeled or not. (That's why it is a SmallVector and not a DenseSet.)