1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

LowerReturn now doesn't have to handle f32 returns.

llvm-svn: 25484
This commit is contained in:
Chris Lattner 2006-01-20 18:41:25 +00:00
parent a348dc9195
commit eacfe56de8

View File

@ -283,8 +283,6 @@ SDOperand X86TargetLowering::LowerReturnTo(SDOperand Chain, SDOperand Op,
case MVT::f32:
case MVT::f64:
if (!X86ScalarSSE) {
if (OpVT == MVT::f32)
Op = DAG.getNode(ISD::FP_EXTEND, MVT::f64, Op);
std::vector<MVT::ValueType> Tys;
Tys.push_back(MVT::Other);
Tys.push_back(MVT::Flag);