llvm-6502/lib
Chris Lattner 7ff79c2d9d My previous commit had an incomplete message, it should have been:
make the 'fp return in ST(0)' optimization smart enough to
look through token factor nodes.  THis allows us to compile 
testcases like CodeGen/X86/fp-stack-retcopy.ll into:

_carg:
	subl	$12, %esp
	call	L_foo$stub
	fstpl	(%esp)
	fldl	(%esp)
	addl	$12, %esp
	ret

instead of:

_carg:
	subl	$28, %esp
	call	L_foo$stub
	fstpl	16(%esp)
	movsd	16(%esp), %xmm0
	movsd	%xmm0, 8(%esp)
	fldl	8(%esp)
	addl	$28, %esp
	ret

Still not optimal, but much better and this is a trivial patch.  Fixing 
the rest requires invasive surgery that is is not llvm 2.2 material.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46054 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-16 05:56:59 +00:00
..
Analysis Don't be rude, emit debugging info where asked to. 2008-01-02 02:49:20 +00:00
Archive Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
AsmParser If there are attributes on the varargs part of a 2008-01-11 21:23:39 +00:00
Bitcode Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
CodeGen Factor the ReachesChainWithoutSideEffects out of dag combiner into 2008-01-16 05:49:24 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine I doubt the address of the Error string was intended 2008-01-07 19:14:42 +00:00
Linker Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Support Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
System Fix compile failures with g++-4.3. 2008-01-09 19:42:09 +00:00
Target My previous commit had an incomplete message, it should have been: 2008-01-16 05:56:59 +00:00
Transforms Do not strip llvm.used values. 2008-01-16 03:33:05 +00:00
VMCore improve compatibility with mingw, patch by Alain Frisch 2008-01-15 22:50:50 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00