aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-26 11:43:37 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-05-26 11:43:37 +0000
commit39f2bebf415d2e8c8cc439aeb40fff5c23e9c8c1 (patch)
treeecedb67b42786e2c7debe8e53aec9e641423f3ce /llvm/lib/Analysis/ValueTracking.cpp
parent352f59879522c059f98c853e04f50fd7e46acee5 (diff)
downloadllvm-39f2bebf415d2e8c8cc439aeb40fff5c23e9c8c1.zip
llvm-39f2bebf415d2e8c8cc439aeb40fff5c23e9c8c1.tar.gz
llvm-39f2bebf415d2e8c8cc439aeb40fff5c23e9c8c1.tar.bz2
[InstCombine] Refactor OptimizeOverflowCheck; NFCI
Extract method to compute overflow based on binop and signedness, and then make the result handling code generic. This extends the always-overflow handling to signed muls, but has currently no effect, as we don't compute always overflow for them (thus NFC). llvm-svn: 361721
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions