summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/add-with-overflow.ll
Commit message (Collapse)AuthorAgeFilesLines
* X86_COND_C and X86_COND_NC are alternate mnemonics forDan Gohman2009-01-071-2/+2
| | | | | | X86_COND_B and X86_COND_AE, respectively. llvm-svn: 61835
* If ADD, SUB, or MUL have an overflow bit that's used, don't do transformation onBill Wendling2008-12-101-4/+36
| | | | | | | them. The DAG combiner expects that nodes that are transformed have one value result. llvm-svn: 60857
* Implement fast-isel conversion of a branch instruction that's branching on anBill Wendling2008-12-091-0/+2
| | | | | | | | | overflow/carry from the "arithmetic with overflow" intrinsics. It searches the machine basic block from bottom to top to find the SETO/SETC instruction that is its conditional. If an instruction modifies EFLAGS before it reaches the SETO/SETC instruction, then it defaults to the normal instruction emission. llvm-svn: 60807
* Change label to 'carry' for unsigned adds.Bill Wendling2008-12-031-2/+2
| | | | llvm-svn: 60460
* Second stab at target-dependent lowering of everyone's favorite nodes: [SU]ADDOBill Wendling2008-12-021-1/+0
| | | | | | | | | | | - LowerXADDO lowers [SU]ADDO into an ADD with an implicit EFLAGS define. The EFLAGS are fed into a SETCC node which has the conditional COND_O or COND_C, depending on the type of ADDO requested. - LowerBRCOND now recognizes if it's coming from a SETCC node with COND_O or COND_C set. llvm-svn: 60388
* XFAil test due to reverting of patch.Bill Wendling2008-11-271-0/+1
| | | | llvm-svn: 60161
* Add x86-specific test for add-with-overflow intrinsics.Bill Wendling2008-11-261-0/+41
llvm-svn: 60125
OpenPOWER on IntegriCloud