This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Introduce surgical invalidation of IPT
AbandonedPublic

Authored by mkazantsev on Sep 13 2018, 12:59 AM.

Details

Reviewers
reames
fhahn
Summary

Once OrderedInstructions is able to auto-update with D51664, it makes us
much easier to invalidate Instruction Precedence Tracking: we only need to
drop cached info when we may introduce or remove the first implicit control
flow instruction.

This patch introduces a method that allows surgical invalidation of cached info
in LoopSafetyInfo only when it is needed.

Diff Detail