summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fold-imm.ll
Commit message (Collapse)AuthorAge
* Rewrite X86 codegen regression test with FileCheckMichael Liao2013-04-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180776 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
* On x86 favors folding short immediate into some arithmetic operations (e.g. ↵Evan Cheng2008-11-27
add, and, xor, etc.) because materializing an immediate in a register is expensive in turns of code size. e.g. movl 4(%esp), %eax addl $4, %eax is 2 bytes shorter than movl $4, %eax addl 4(%esp), %eax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60139 91177308-0d34-0410-b5e6-96231b3b80d8