commit | 7466678003f38f985d5b2dffd0917643137b11cf | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 26 22:48:07 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 26 22:48:07 2011 +0000 |
tree | 8a0315a7b150080615e132dfa9cfc54c82fa42b1 | |
parent | 981b1c4c62054e4e39570a9230c0318f13f9a0a9 [diff] |
Add some DAGCombines for (adde 0, 0, glue), which are useful to optimize legalized code for large integer arithmetic. 1. Inform users of ADDEs with two 0 operands that it never sets carry 2. Fold other ADDs or ADDCs into the ADDE if possible It would be neat if we could do the same thing for SETCC+ADD eventually, but we can't do that in target independent code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126557 91177308-0d34-0410-b5e6-96231b3b80d8