To control the number of outer parallel loops, we need to process the
outer loops first and hence pre-order walk fixes the issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The commit summary is outdated/does not match the fix. Furthermore, a deque is not needed here any more.
| mlir/lib/Dialect/Affine/Transforms/AffineParallelize.cpp | ||
|---|---|---|
| 52–53 | Why is deque being used here? An std::vector would do. | |
| mlir/lib/Dialect/Affine/Transforms/AffineParallelize.cpp | ||
|---|---|---|
| 53–56 | Thanks for fixing this - looks good other than the fact that a deque isn't needed here. | |
Why is deque being used here? An std::vector would do.