This is an archive of the discontinued LLVM Phabricator instance.

[CaptureTracking] Allow passing LI to PointerMayBeCapturedBefore (NFC).
ClosedPublic

Authored by fhahn on Sep 17 2021, 9:51 AM.

Details

Summary

isPotentiallyReachable can use LoopInfo to return earlier. This patch
allows passing an optional LI to PointerMayBeCapturedBefore. Used in
D109844.

Diff Detail

Event Timeline

fhahn created this revision.Sep 17 2021, 9:51 AM
fhahn requested review of this revision.Sep 17 2021, 9:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 9:51 AM
nikic accepted this revision.Sep 17 2021, 2:16 PM

LGTM, though I think I tried that in the past, and didn't see any significant impact on compile-time.

This revision is now accepted and ready to land.Sep 17 2021, 2:16 PM
asbirlea accepted this revision.Sep 17 2021, 2:50 PM
This revision was landed with ongoing or failed builds.Sep 20 2021, 1:17 AM
This revision was automatically updated to reflect the committed changes.