OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d0d05c
)
always promote float varargs to double.
author
Chris Lattner
<sabre@nondot.org>
Sun, 25 Feb 2007 19:59:18 +0000
(19:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 25 Feb 2007 19:59:18 +0000
(19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34604
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index
c7ab474
..
61c3f11
100644
(file)
--- 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
||
isPPC64) {
// Float varargs need to be promoted to double.
if (Arg.getValueType() == MVT::f32)
Arg = DAG.getNode(ISD::FP_EXTEND, MVT::f64, Arg);