This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Reduce code duplication in binop processing in computeExitLimitFromCondCached
ClosedPublic

Authored by mkazantsev on Nov 20 2020, 5:13 AM.

Details

Summary

Handling of and and or vastly uses copy-paste. Factored out into
a helper function as preparation step for further fix (see PR48225).

Diff Detail

Event Timeline

mkazantsev created this revision.Nov 20 2020, 5:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 20 2020, 5:13 AM
mkazantsev requested review of this revision.Nov 20 2020, 5:13 AM
nikic accepted this revision.Nov 21 2020, 8:51 AM

LGTM

This revision is now accepted and ready to land.Nov 21 2020, 8:51 AM