llvm-6502/lib
Chris Lattner ce2bcc8839 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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47330 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-19 17:37:35 +00:00
..
Analysis Fix a compiler warning. 2008-02-19 09:28:48 +00:00
Archive Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
AsmParser regenerate 2008-02-19 04:36:25 +00:00
Bitcode Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
CodeGen PR1909: Tail merging pass ran wild. It makes no sense to merge blocks in order to save a single instruction since a branch will be inserted for each BB. 2008-02-19 02:09:37 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine Support vector constant zeros, thanks to Zack Rusin for the testcase. 2008-02-15 00:57:28 +00:00
Linker Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Support Fixed bug in FoldingSetIteratorImpl where we did not correctly check if 2008-02-15 21:12:46 +00:00
System It is not safe to call fork in PrintStackTrace. Sometimes it freezes the program. 2008-02-15 18:05:54 +00:00
Target Don't fold and's into test instructions if they have multiple uses. 2008-02-19 17:37:35 +00:00
Transforms remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
VMCore Fix some minor issues folding undef, PR2052 2008-02-19 06:22:12 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00