This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Introduce field for storing SymbolicMaxNotTaken
ClosedPublic

Authored by mkazantsev on Nov 25 2022, 2:06 AM.

Details

Summary

Currently, it is initialized with either exact (if available) or
with constant max exit count. In the future, this can be improved.

Hypothetically this is not an NFC (it is possible that exact is not
known and max is known for a particular exit), but for how we use
it now it seems be an NFC (or at least I could not find an example
where it differs).

Diff Detail

Event Timeline

mkazantsev created this revision.Nov 25 2022, 2:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 25 2022, 2:06 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
mkazantsev requested review of this revision.Nov 25 2022, 2:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 25 2022, 2:06 AM
mkazantsev edited the summary of this revision. (Show Details)Nov 25 2022, 2:07 AM
lebedev.ri accepted this revision.Nov 25 2022, 5:39 AM

Looks pretty NFC-iy to me.
LG, but maybe wait a day or two if there's another thoughts.

This revision is now accepted and ready to land.Nov 25 2022, 5:39 AM
This revision was landed with ongoing or failed builds.Nov 28 2022, 2:30 AM
This revision was automatically updated to reflect the committed changes.