mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
no really, this is the right patch
llvm-svn: 34605
This commit is contained in:
parent
49fc72110a
commit
796625a49d
@ -1423,7 +1423,7 @@ static SDOperand LowerCALL(SDOperand Op, SelectionDAG &DAG,
|
||||
break;
|
||||
case MVT::f32:
|
||||
case MVT::f64:
|
||||
if (isVarArg || isPPC64) {
|
||||
if (isVarArg) {
|
||||
// Float varargs need to be promoted to double.
|
||||
if (Arg.getValueType() == MVT::f32)
|
||||
Arg = DAG.getNode(ISD::FP_EXTEND, MVT::f64, Arg);
|
||||
|
Loading…
Reference in New Issue
Block a user