summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2017-05-02 14:15:48 +0000
committerAmaury Sechet <deadalnix@gmail.com>2017-05-02 14:15:48 +0000
commit106a7eab8494b6cd027eaad2b9dacd5dcc62a5af (patch)
tree612919445aa7ee2d39d9a7d83f1d826ea11d5c2b /llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
parent3ba25737448de9f2e22fafd602cee4e0d1fdb44c (diff)
downloadbcm5719-llvm-106a7eab8494b6cd027eaad2b9dacd5dcc62a5af.tar.gz
bcm5719-llvm-106a7eab8494b6cd027eaad2b9dacd5dcc62a5af.zip
[DAGCombine] (uaddo X, (addcarry Y, 0, Carry)) -> (addcarry X, Y, Carry)
Summary: This is a common pattern that arise when legalizing large integers operations. Only do it when Y + 1 cannot overflow as this would change the carry behavior of uaddo . Reviewers: jyknight, nemanjai, mkuper, spatel, RKSimon, zvi, bkramer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32687 llvm-svn: 301922
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud