summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/iabs.ll
Commit message (Collapse)AuthorAgeFilesLines
* X86: optimize generated code for integer ABSManman Ren2012-06-071-6/+10
| | | | | | | | | | | | | | | | | | | | This patch will generate the following for integer ABS: movl %edi, %eax negl %eax cmovll %edi, %eax INSTEAD OF movl %edi, %ecx sarl $31, %ecx leal (%rdi,%rcx), %eax xorl %ecx, %eax There exists a target-independent DAG combine for integer ABS, which converts integer ABS to sar+add+xor. For X86, we match this pattern back to neg+cmov. This is implemented in PerformXorCombine. rdar://10695237 llvm-svn: 158175
* Catch more cases where 2-address pass should 3-addressify instructions. ↵Evan Cheng2011-03-021-6/+5
| | | | | | rdar://9002648. llvm-svn: 126811
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81290
* Remove -unwind-tables-optional everywhere, sinceDale Johannesen2008-04-141-1/+1
| | | | | | this is now the default. llvm-svn: 49667
* Rename -disable-required-unwind-tables to -unwind-tables-optional.Dale Johannesen2008-04-081-1/+1
| | | | llvm-svn: 49391
* Add -disable-required-unwind-tables to testsDale Johannesen2008-04-081-1/+1
| | | | | | | that need it (usually, grepping for some string found in unwind info) llvm-svn: 49364
* Mark functions in some tests as 'nounwind'. GeneratingDale Johannesen2008-03-311-1/+1
| | | | | | | | EH info for these functions causes the tests to fail for random reasons (e.g. looking for 'or' or counting lines with asm-printer; labels count as lines.) llvm-svn: 49003
* For PR1319:Reid Spencer2007-04-161-1/+2
| | | | | | Fix test syntax per new rules. llvm-svn: 36133
* new testcases for integer abs functionChris Lattner2007-04-111-0/+16
llvm-svn: 35880
OpenPOWER on IntegriCloud