1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/CodeGen
Dan Gohman d692070372 When the coalescer is doing rematerializing, have it remove
the copy instruction from the instruction list before asking the
target to create the new instruction. This gets the old instruction
out of the way so that it doesn't interfere with the target's
rematerialization code. In the case of x86, this helps it find
more cases where EFLAGS is not live.

Also, in the X86InstrInfo.cpp, teach isSafeToClobberEFLAGS to check
to see if it reached the end of the block after scanning each
instruction, instead of just before. This lets it notice when the
end of the block is only two instructions away, without doing any
additional scanning.

These changes allow rematerialization to clobber EFLAGS in more
cases, for example using xor instead of mov to set the return value
to zero in the included testcase.

llvm-svn: 57872
2008-10-21 03:24:31 +00:00
..
Alpha get CodeGen/Alpha/mul128.ll to work. 2008-10-09 04:50:56 +00:00
ARM Implement function notes as function attributes. 2008-09-26 23:51:19 +00:00
CBackend In the CBackend, use casts to force integer add, subtract, and 2008-07-18 18:43:12 +00:00
CellSPU remove an xfailed test. 2008-10-17 17:26:48 +00:00
CPP
Generic remove this test: it is xfailed anyway, and is failing for a reason 2008-10-17 17:26:19 +00:00
IA64
Mips FIX PR2794. Make sure SIGN_EXTEND_INREG nodes introduced by LegalizeSetCCOperands are leglized. Patch by Richard Pennington. 2008-10-13 18:46:18 +00:00
PowerPC Reapply r57699 with a fix to not crash on asms with multiple results. Unlike 2008-10-18 18:49:30 +00:00
SPARC Add testcase for 'r' inline asm operand 2008-10-10 20:28:59 +00:00
X86 When the coalescer is doing rematerializing, have it remove 2008-10-21 03:24:31 +00:00