This is an archive of the discontinued LLVM Phabricator instance.

[IndVars] Support different types of ExitCount when optimizing exit conds
ClosedPublic

Authored by mkazantsev on Sep 29 2020, 10:09 PM.

Details

Summary

In some cases we can handle IV and iter count of different types. It's a typical situation
after IV have been widened. This patch adds support for such cases, when legal.

Diff Detail

Event Timeline

mkazantsev created this revision.Sep 29 2020, 10:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2020, 10:09 PM
mkazantsev requested review of this revision.Sep 29 2020, 10:09 PM
mkazantsev planned changes to this revision.
mkazantsev retitled this revision from [IndVars] Support different types to [IndVars] Support different types of ExitCount when optimizing exit conds.
mkazantsev edited the summary of this revision. (Show Details)
mkazantsev planned changes to this revision.Nov 15 2020, 8:27 PM
This revision is now accepted and ready to land.Nov 18 2020, 12:48 AM