[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 30 18:46:04 PST 2006
Changes in directory llvm/lib/Target/SparcV8:
SparcV8ISelDAGToDAG.cpp updated: 1.69 -> 1.70
---
Log message:
I don't see why this optimization isn't safe, but it isn't, so disable it
---
Diffs of the changes: (+2 -1)
SparcV8ISelDAGToDAG.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.69 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.70
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.69 Mon Jan 30 16:20:49 2006
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp Mon Jan 30 20:45:52 2006
@@ -431,7 +431,8 @@
if (CurArgReg < ArgRegEnd) ++CurArgReg;
if (CurArgReg < ArgRegEnd) ++CurArgReg;
ArgValues.push_back(DAG.getNode(ISD::UNDEF, ObjectVT));
- } else if (CurArgReg == ArgRegEnd && ObjectVT == MVT::f64 &&
+ } else if (/* FIXME: Apparently this isn't safe?? */
+ 0 && CurArgReg == ArgRegEnd && ObjectVT == MVT::f64 &&
((CurArgReg-ArgRegs) & 1) == 0) {
// If this is a double argument and the whole thing lives on the stack,
// and the argument is aligned, load the double straight from the stack.
More information about the llvm-commits
mailing list