Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge some tests into select.ll and make them more specific. | Chris Lattner | 2010-12-05 | 1 | -22/+0 |
| | | | | llvm-svn: 120928 | ||||
* | Start function numbering at 0. | Dan Gohman | 2010-04-17 | 1 | -1/+1 |
| | | | | llvm-svn: 101638 | ||||
* | Eliminate more uses of llvm-as and llvm-dis. | Dan Gohman | 2009-09-08 | 1 | -2/+2 |
| | | | | llvm-svn: 81290 | ||||
* | Revert 67132. This is breaking some objective-c apps. | Evan Cheng | 2009-03-25 | 1 | -1/+1 |
| | | | | | | Also fixes SDISel so it *does not* force promote return value if the function is not marked signext / zeroext. llvm-svn: 67701 | ||||
* | Don't force promotion of return arguments on the callee. | Rafael Espindola | 2009-03-17 | 1 | -1/+1 |
| | | | | | | | Some architectures (like x86) don't require it. This fixes bug 3779. llvm-svn: 67132 | ||||
* | Move 3 "(add (select cc, 0, c), x) -> (select cc, x, (add, x, c))" | Chris Lattner | 2009-03-12 | 1 | -0/+22 |
related transformations out of target-specific dag combine into the ARM backend. These were added by Evan in r37685 with no testcases and only seems to help ARM (e.g. test/CodeGen/ARM/select_xform.ll). Add some simple X86-specific (for now) DAG combines that turn things like cond ? 8 : 0 -> (zext(cond) << 3). This happens frequently with the recently added cp constant select optimization, but is a very general xform. For example, we now compile the second example in const-select.ll to: _test: movsd LCPI2_0, %xmm0 ucomisd 8(%esp), %xmm0 seta %al movzbl %al, %eax movl 4(%esp), %ecx movsbl (%ecx,%eax,4), %eax ret instead of: _test: movl 4(%esp), %eax leal 4(%eax), %ecx movsd LCPI2_0, %xmm0 ucomisd 8(%esp), %xmm0 cmovbe %eax, %ecx movsbl (%ecx), %eax ret This passes multisource and dejagnu. llvm-svn: 66779 |