Skip to content
  • Benjamin Kramer's avatar
    Add some DAGCombines for (adde 0, 0, glue), which are useful to optimize... · 26691d96
    Benjamin Kramer authored
    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.
    
    llvm-svn: 126557
    26691d96
Loading