Fix a problem with fast-isel return values introduced in r134018.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 30 Jun 2011 23:42:18 +0000 (23:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 30 Jun 2011 23:42:18 +0000 (23:42 +0000)
commit098c7ac7c8bbc519a4ef4ab242140be459f0dae2
tree747d05e38c7fa736ae08d6d82d29840b44d3f312
parent2a7b41ba4d3eb3c6003f6768dc20b28d83eac265
Fix a problem with fast-isel return values introduced in r134018.

We would put the return value from long double functions in the wrong
register.

This fixes gcc.c-torture/execute/conversion.c

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