[PATCH] D91864: [NFC] Reduce code duplication in binop processing in computeExitLimitFromCondCached
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 20 05:13:50 PST 2020
mkazantsev created this revision.
mkazantsev added reviewers: nikic, reames, lebedev.ri.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
mkazantsev requested review of this revision.
Handling of `and` and `or` vastly uses copy-paste. Factored out into
a helper function as preparation step for further fix (see PR48225).
https://reviews.llvm.org/D91864
Files:
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91864.306667.patch
Type: text/x-patch
Size: 10818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201120/6fe1d723/attachment.bin>
More information about the llvm-commits
mailing list