Files
llvm-6502/test/CodeGen/X86
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
..
2007-04-16 15:15:52 +00:00
2007-08-30 16:07:20 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 15:15:52 +00:00
2007-04-16 15:15:52 +00:00
2007-04-16 15:15:52 +00:00
2007-04-16 15:31:49 +00:00
2007-10-14 05:57:21 +00:00
2007-02-25 22:23:15 +00:00
2007-03-19 18:27:35 +00:00
2007-04-26 01:14:14 +00:00
2007-07-19 23:53:29 +00:00
2007-07-19 23:13:04 +00:00
2007-05-16 06:14:10 +00:00
2007-07-19 23:13:04 +00:00
2007-06-05 01:45:08 +00:00
2007-06-29 00:27:18 +00:00
2007-06-29 23:17:15 +00:00
2007-06-29 21:40:30 +00:00
2007-08-13 18:42:37 +00:00
2007-09-18 22:56:31 +00:00
2007-10-05 01:44:22 +00:00
2007-10-12 09:10:27 +00:00
2007-10-13 03:10:54 +00:00
2007-10-13 03:10:54 +00:00
2007-10-15 16:35:13 +00:00
2007-10-16 19:29:47 +00:00
2007-10-19 22:05:00 +00:00
2007-11-02 17:36:58 +00:00
2007-11-16 23:55:08 +00:00
2008-01-11 20:47:33 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 14:20:28 +00:00
2007-12-29 06:57:38 +00:00
2007-02-13 23:41:24 +00:00
2007-04-16 15:15:52 +00:00
2007-04-30 05:11:58 +00:00
2007-09-25 17:50:55 +00:00
2007-10-29 22:07:18 +00:00
2007-05-19 01:22:52 +00:00
2007-05-17 03:29:17 +00:00
2007-04-16 17:36:08 +00:00
2007-09-25 17:50:55 +00:00
2007-05-03 18:20:17 +00:00
2007-04-16 17:36:08 +00:00
2007-11-09 20:46:00 +00:00
2007-11-24 05:39:29 +00:00
2007-10-08 22:20:32 +00:00
2007-04-16 15:31:49 +00:00
2007-12-29 08:19:39 +00:00
2007-04-16 15:31:49 +00:00
2007-04-16 14:23:07 +00:00
2007-04-16 20:04:11 +00:00
2007-10-12 07:49:48 +00:00
2007-08-15 13:45:35 +00:00
2008-01-15 22:22:02 +00:00
2007-04-26 00:07:36 +00:00
2007-04-16 17:36:08 +00:00
2007-06-29 00:27:18 +00:00
2007-04-16 17:36:08 +00:00
2007-12-06 22:12:45 +00:00
2007-12-29 19:24:06 +00:00
2007-04-16 17:36:08 +00:00
2007-04-16 17:36:08 +00:00
2007-07-19 23:13:04 +00:00