1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/test/CodeGen
Chris Lattner 3a4ac3a69e Don't fold and's into test instructions if they have multiple uses.
This compiles test-nofold.ll into:

_test:
	movl	$15, %ecx
	andl	4(%esp), %ecx
	testl	%ecx, %ecx
	movl	$42, %eax
	cmove	%ecx, %eax
	ret

instead of:
_test:
	movl	4(%esp), %eax
	movl	%eax, %ecx
	andl	$15, %ecx
	testl	$15, %eax
	movl	$42, %eax
	cmove	%ecx, %eax
	ret

llvm-svn: 47330
2008-02-19 17:37:35 +00:00
..
Alpha Remove llvm-upgrade and update tests. 2008-02-19 01:41:04 +00:00
ARM Remove llvm-upgrade. 2008-02-17 20:02:20 +00:00
CBackend Remove llvm-upgrade and update tests. 2008-02-19 01:41:04 +00:00
CellSPU Overhaul Cell SPU's addressing mode internals so that there are now 2008-01-29 02:16:57 +00:00
Generic Remove llvm-upgrade and update tests. 2008-02-19 01:41:04 +00:00
IA64 Remove llvm-upgrade and update tests. 2008-02-19 01:41:04 +00:00
PowerPC Remove llvm-upgrade and update tests. 2008-02-19 08:07:33 +00:00
SPARC Remove llvm-upgrade and update tests. 2008-02-19 01:41:04 +00:00
X86 Don't fold and's into test instructions if they have multiple uses. 2008-02-19 17:37:35 +00:00