Page MenuHomePhabricator

[SCEV][NFC] Cache symbolic max exit count
ClosedPublic

Authored by mkazantsev on Oct 22 2020, 6:00 AM.

Details

Summary

We want to have a caching version of symbolic BE exit count
rather than recompute it every time we need it.

Diff Detail

Event Timeline

mkazantsev created this revision.Oct 22 2020, 6:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2020, 6:00 AM
This revision is now accepted and ready to land.Oct 22 2020, 12:59 PM
nikic accepted this revision.Oct 22 2020, 1:09 PM

LGTM as well.

llvm/include/llvm/Analysis/ScalarEvolution.h
747

Nit: This comment needs adjustment for constant -> symbolic.

1340–1341

Nit: The mention of ConstantMaxAndComplete is stale.

This revision was automatically updated to reflect the committed changes.