llvm/test/CodeGen
Evan Cheng e6f350d755 Turn a 2-address instruction into a 3-address one when it's profitable even if the two-address operand is killed.
e.g.
%reg1024<def> = MOV r1
%reg1025<def> = ADD %reg1024, %reg1026
r0            = MOV %reg1025

If it's not possible / profitable to commute ADD, then turning ADD into a LEA saves a copy.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68065 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-30 21:34:07 +00:00
..
Alpha
ARM Do not emit comments unless -asm-verbose. 2009-03-24 00:17:40 +00:00
CBackend
CellSPU Revert 67132. This is breaking some objective-c apps. 2009-03-25 20:20:11 +00:00
CPP
Generic Fix PR3899: add support for extracting floats from vectors 2009-03-29 13:51:06 +00:00
IA64
Mips
PowerPC Fix this test so that it doesn't spuriously fail due to some 2009-03-27 16:17:22 +00:00
SPARC
X86 Turn a 2-address instruction into a 3-address one when it's profitable even if the two-address operand is killed. 2009-03-30 21:34:07 +00:00
XCore