This is an archive of the discontinued LLVM Phabricator instance.

[LoopAccessAnalysis] Simplify D119047
ClosedPublic

Authored by aeubanks on Feb 9 2022, 2:24 PM.

Details

Summary

No need to add checks for every type per pointer that we couldn't create
a check for the first time around, just the types that weren't
successful.

Diff Detail

Event Timeline

aeubanks created this revision.Feb 9 2022, 2:24 PM
aeubanks requested review of this revision.Feb 9 2022, 2:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2022, 2:24 PM

I'm not sure that I can construct a test case where only some, not all access types for a given pointer fail in the first createCheckForAccess()

Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2022, 2:12 PM
fhahn accepted this revision.Jul 21 2022, 11:59 AM

LGTM, thanks!

This revision is now accepted and ready to land.Jul 21 2022, 11:59 AM
This revision was landed with ongoing or failed builds.Jul 21 2022, 12:16 PM
This revision was automatically updated to reflect the committed changes.