avoid going through a stack slot to convert from fpstack to xmm reg
authorChris Lattner <sabre@nondot.org>
Sat, 29 Dec 2007 06:41:28 +0000 (06:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Dec 2007 06:41:28 +0000 (06:41 +0000)
commit112dedc520c1aec387a6fef1c8f512a7d27f0570
tree65c56b163f38ef5fbd9d996e8d81c7e006ce31d6
parent3c87285af63bc6d9b93f8eefe46ce9fea063d66c
avoid going through a stack slot to convert from fpstack to xmm reg
if we are just going to store it back anyway.  This improves things
like:
double foo();
void bar(double *P) { *P = foo(); }

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45399 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/README.txt
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/fp-stack-ret-store.ll [new file with mode: 0644]