mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
LowerReturn now doesn't have to handle f32 returns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a68d204843
commit
1f16ff6f0a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user