On Aug 14, 2007, at 2:16 AM, Evan Cheng wrote: > Author: evancheng > Date: Tue Aug 14 04:16:00 2007 > New Revision: 41070 > > URL: http://llvm.org/viewvc/llvm-project?rev=41070&view=rev > Log: > Update test case. A spill should now be deleted. > > Modified: > llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll
Nice. I tweaked it to avoid the fpstack stuff on x86-32. I'm now getting: x86-32: _array: subl $12, %esp movss LCPI1_0, %xmm0 mulss 16(%esp), %xmm0 movss %xmm0, (%esp) call L_qux$stub movss LCPI1_0, %xmm1 mulss %xmm1, %xmm0 addl $12, %esp ret x86-64: _array: subq $8, %rsp movss LCPI1_0(%rip), %xmm1 mulss %xmm1, %xmm0 call _qux movss LCPI1_0(%rip), %xmm1 mulss %xmm1, %xmm0 addq $8, %rsp ret Both look great, but we should still fold the remat load into the muls :) -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits