OSDN Git Service

no really, this is the right patch
authorChris Lattner <sabre@nondot.org>
Sun, 25 Feb 2007 20:01:40 +0000 (20:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Feb 2007 20:01:40 +0000 (20:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34605 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 61c3f11..f394332 100644 (file)
@@ -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);