aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-06-24 10:00:27 +0100
committerFlorian Hahn <flo@fhahn.com>2021-06-24 12:16:15 +0100
commit121ecb05e73427ab3bc6ceeca04fbab161417e6e (patch)
tree862ed401c7d2d5844a2b2596ca9baf6284180983 /llvm/lib/Transforms/Utils/Local.cpp
parent0c4651f0a883443259684aa6de69d26a5bd49e46 (diff)
downloadllvm-121ecb05e73427ab3bc6ceeca04fbab161417e6e.zip
llvm-121ecb05e73427ab3bc6ceeca04fbab161417e6e.tar.gz
llvm-121ecb05e73427ab3bc6ceeca04fbab161417e6e.tar.bz2
[SCEV] Generalize MatchBinaryAddToConst to support non-add expressions.
This patch generalizes MatchBinaryAddToConst to support matching (A + C1), (A + C2), instead of just matching (A + C1), A. The existing cases can be handled by treating non-add expressions A as A + 0. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D104634
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions