Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | X86: optimize generated code for integer ABS | Manman Ren | 2012-06-07 | 1 | -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 Cheng | 2011-03-02 | 1 | -6/+5 |
| | | | | | | rdar://9002648. llvm-svn: 126811 | ||||
* | Eliminate more uses of llvm-as and llvm-dis. | Dan Gohman | 2009-09-08 | 1 | -1/+1 |
| | | | | llvm-svn: 81290 | ||||
* | Remove -unwind-tables-optional everywhere, since | Dale Johannesen | 2008-04-14 | 1 | -1/+1 |
| | | | | | | this is now the default. llvm-svn: 49667 | ||||
* | Rename -disable-required-unwind-tables to -unwind-tables-optional. | Dale Johannesen | 2008-04-08 | 1 | -1/+1 |
| | | | | llvm-svn: 49391 | ||||
* | Add -disable-required-unwind-tables to tests | Dale Johannesen | 2008-04-08 | 1 | -1/+1 |
| | | | | | | | that need it (usually, grepping for some string found in unwind info) llvm-svn: 49364 | ||||
* | Mark functions in some tests as 'nounwind'. Generating | Dale Johannesen | 2008-03-31 | 1 | -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 Spencer | 2007-04-16 | 1 | -1/+2 |
| | | | | | | Fix test syntax per new rules. llvm-svn: 36133 | ||||
* | new testcases for integer abs function | Chris Lattner | 2007-04-11 | 1 | -0/+16 |
llvm-svn: 35880 |