Loop fusion fails for loops with non-constant bounds. Addresses the issue mentioned here https://github.com/llvm/llvm-project/issues/61784
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you edit the commit summary to include the link to the github issue that this is fixing? https://github.com/llvm/llvm-project/issues/61784
Comment Actions
Sorry for the delayed response; some comments/questions below.
mlir/lib/Dialect/Affine/Analysis/Utils.cpp | ||
---|---|---|
710 | The set difference utility can now handle this? Can you expand the commit summary? | |
732 | Need a code comment. | |
mlir/test/Transforms/loop-fusion-4.mlir | ||
203–212 | A single test case here is insufficient. Can you add one where the bounds don't match, i.e., different symbols, or a symbol which is effectively the other symbol + 1. |
The set difference utility can now handle this? Can you expand the commit summary?