This is an archive of the discontinued LLVM Phabricator instance.

[AST] Restrict AliasSetTracker to immutable IR
ClosedPublic

Authored by nikic on Nov 15 2022, 2:09 AM.

Details

Summary

This restricts usage of AliasSetTracker to IR that does not change. We used to use it during LICM where the underlying IR could change, but remaining uses all use AST as part of a separate analysis phase.

This is split out from D137955, which makes use of the new guarantee to switch to BatchAA.

Diff Detail

Event Timeline

nikic created this revision.Nov 15 2022, 2:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2022, 2:09 AM
nikic requested review of this revision.Nov 15 2022, 2:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2022, 2:09 AM
reames accepted this revision.Nov 15 2022, 7:21 AM

LGTM

This revision is now accepted and ready to land.Nov 15 2022, 7:21 AM
This revision was landed with ongoing or failed builds.Nov 15 2022, 7:28 AM
This revision was automatically updated to reflect the committed changes.
nikic added a comment.Nov 15 2022, 7:46 AM

Landed a followup in 8051c1db956615980770d50b2fb7aea2093372fa to also replace the use of WeakVH in UnknownInsts with AssertingVH.