This is an archive of the discontinued LLVM Phabricator instance.

[LoopDeletion] Forget block and loop dispositions after deleting loop.
ClosedPublic

Authored by fhahn on Sep 25 2022, 1:14 PM.

Details

Summary

After deleting a loop, the block and loop dispositions need to be
cleared. As we don't know which SCEVs in the loop/blocks may be
impacted, completely clear the cache. This should also fix some cases
where deleted loops remained in the LoopDispositions cache.

This fixes a verification failure surfaced by D134531.

Diff Detail

Event Timeline

fhahn created this revision.Sep 25 2022, 1:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 25 2022, 1:14 PM
fhahn requested review of this revision.Sep 25 2022, 1:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 25 2022, 1:14 PM
This revision is now accepted and ready to land.Sep 26 2022, 2:36 AM
fhahn retitled this revision from [LoopDeleteion] Forget block and loop dispositions after deleting loop. to [LoopDeletion] Forget block and loop dispositions after deleting loop..Sep 26 2022, 3:22 AM
fhahn updated this revision to Diff 463121.Sep 27 2022, 12:43 AM

Rebase on current main.

This revision was landed with ongoing or failed builds.Sep 28 2022, 3:34 AM
This revision was automatically updated to reflect the committed changes.