This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP]Fix PR55970: Miscompile of collapse(3) with non-rectangular loop nest.
ClosedPublic

Authored by ABataev on Feb 14 2023, 8:01 AM.

Details

Summary

Need to assign the calculated lower bound back to temp variable,
otherwise incorrect value (upper bound instead of lower bound) might be
used.

Diff Detail

Event Timeline

ABataev created this revision.Feb 14 2023, 8:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2023, 8:01 AM
ABataev requested review of this revision.Feb 14 2023, 8:01 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
mikerice accepted this revision.Feb 14 2023, 9:40 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Feb 14 2023, 9:40 AM
This revision was landed with ongoing or failed builds.Feb 14 2023, 10:40 AM
This revision was automatically updated to reflect the committed changes.