aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-01-07 09:06:39 +0000
committerCraig Topper <craig.topper@gmail.com>2012-01-07 09:06:39 +0000
commitcc274526ef801c23083bb76e335bb5152dddcc58 (patch)
tree239487f442685b2fe7de3904cc07144f6163cf1e /lib/CodeGen/MachineCopyPropagation.cpp
parent82f000266a93c6e18e7db23c6736a73dd31f46c1 (diff)
Add some DAG combines for SUBC/SUBE. If nothing uses the carry/borrow out of subc, turn it into a sub. Turn (subc x, x) into 0 with no borrow. Turn (subc x, 0) into x with no borrow. Turn (subc -1, x) into (xor x, -1) with no borrow. Turn sube with no borrow in into subc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions