The patch fixes an off by one error in the method collapseParallelLoops. It ensures the same normalized bound is used for the computation of the division and the remainder.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D82634
[mlir] fix off-by-one error in collapseParallelLoops ClosedPublic Authored by gysit on Jun 26 2020, 2:33 AM.
Details
Summary The patch fixes an off by one error in the method collapseParallelLoops. It ensures the same normalized bound is used for the computation of the division and the remainder.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 26 2020, 3:46 AM Closed by commit rG652a79659a89: [mlir] fix off-by-one error in collapseParallelLoops (authored by gysit). · Explain WhyJun 26 2020, 7:03 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 273718 mlir/lib/Transforms/Utils/LoopUtils.cpp
mlir/test/Transforms/parallel-loop-collapsing.mlir
mlir/test/Transforms/single-parallel-loop-collapsing.mlir
|