diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-01-07 09:06:39 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-01-07 09:06:39 +0000 |
commit | 43a1bd6ac7caf826c024eb05507b3c8fe8956dc3 (patch) | |
tree | 4772f56495073c819daff7204cddf5d1b162abdd /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | e47e682bec7fe906c6a1e45991ad8a3a42d5b300 (diff) | |
download | bcm5719-llvm-43a1bd6ac7caf826c024eb05507b3c8fe8956dc3.tar.gz bcm5719-llvm-43a1bd6ac7caf826c024eb05507b3c8fe8956dc3.zip |
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.
llvm-svn: 147728
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions