This is an archive of the discontinued LLVM Phabricator instance.

[LAA] Use cross-iteration alias analysis
ClosedPublic

Authored by nikic on Nov 14 2022, 9:03 AM.

Details

Summary

LAA analyzes cross-iteration memory dependencies, as such AA should not make assumptions about equality of values inside the loop, as they may come from different iterations.

Fix this by exposing the MayBeCrossIteration AA flag and enabling it for LAA.

Depends on D137955.

Diff Detail

Event Timeline

nikic created this revision.Nov 14 2022, 9:03 AM
nikic requested review of this revision.Nov 14 2022, 9:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 9:03 AM
reames accepted this revision.Nov 14 2022, 12:06 PM
This revision is now accepted and ready to land.Nov 14 2022, 12:06 PM
fhahn accepted this revision.Nov 15 2022, 7:53 AM

LGTM, thanks!

This revision was landed with ongoing or failed builds.Dec 5 2022, 12:27 AM
This revision was automatically updated to reflect the committed changes.