This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Remember blocks for which we know symbolic exit count but not exact
ClosedPublic

Authored by mkazantsev on Dec 7 2022, 1:19 AM.

Details

Summary

The old code didn't bother to memoize blocks for which exact exit count is not
known. As result, in situation when exact isn't known but symbolic is known, this
info was lost. This patch fixes the situation: now we memoize when symbolic is
known (exact always implies symbolic, so this is a strict superset of what was before).

Diff Detail

Event Timeline

mkazantsev created this revision.Dec 7 2022, 1:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 1:19 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
mkazantsev requested review of this revision.Dec 7 2022, 1:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 1:19 AM
nikic accepted this revision.Dec 7 2022, 2:01 AM

LG

This revision is now accepted and ready to land.Dec 7 2022, 2:01 AM
mkazantsev edited the summary of this revision. (Show Details)Dec 7 2022, 2:31 AM
This revision was landed with ongoing or failed builds.Dec 7 2022, 2:51 AM
This revision was automatically updated to reflect the committed changes.