This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Presburger] fix double increment in coalesce
ClosedPublic

Authored by webmiche on Feb 26 2022, 2:25 AM.

Details

Summary

In the main-loop of the current coalesce implementation i was incremented
twice for some cases. This patch fixes this bug and adds a regression
testcase.

Diff Detail

Event Timeline

webmiche created this revision.Feb 26 2022, 2:25 AM
webmiche requested review of this revision.Feb 26 2022, 2:25 AM
arjunp accepted this revision.Feb 26 2022, 2:27 AM
This revision is now accepted and ready to land.Feb 26 2022, 2:27 AM
This revision was landed with ongoing or failed builds.Feb 26 2022, 2:37 AM
This revision was automatically updated to reflect the committed changes.