This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

gysit created this revision.Jun 26 2020, 2:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2020, 2:33 AM
herhut accepted this revision.Jun 26 2020, 3:46 AM

Thanks for finding and fixing this!

This revision is now accepted and ready to land.Jun 26 2020, 3:46 AM
This revision was automatically updated to reflect the committed changes.