[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Chris Lattner
sabre at nondot.org
Sun Feb 25 11:59:35 PST 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.254 -> 1.255
---
Log message:
always promote float varargs to double.
---
Diffs of the changes: (+1 -1)
PPCISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.254 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.255
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.254 Sat Feb 24 23:34:32 2007
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Sun Feb 25 13:59:18 2007
@@ -1423,7 +1423,7 @@
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);
More information about the llvm-commits
mailing list