Do not apply loop peeling to loops that are contained in the partial iteration of an already peeled loop. This is to avoid code explosion when dealing with large loop nests. Can be controlled with a new pass option skip-partial.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp | ||
---|---|---|
452–456 | nit: you could also do this with a single walk. |
nit: you could also do this with a single walk.