diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-02-26 22:48:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-02-26 22:48:07 +0000 |
commit | 7466678003f38f985d5b2dffd0917643137b11cf (patch) | |
tree | 8a0315a7b150080615e132dfa9cfc54c82fa42b1 /lib/Support/Statistic.cpp | |
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
Diffstat (limited to 'lib/Support/Statistic.cpp')
0 files changed, 0 insertions, 0 deletions