From: Chris Lattner Date: Sun, 25 Feb 2007 20:01:40 +0000 (+0000) Subject: no really, this is the right patch X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4ddf7a4ca69c3f5872b568bcb523d491b29a2592;p=oota-llvm.git no really, this is the right patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34605 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 61c3f117edc..f394332d4d6 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -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);