summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-31 02:45:52 +0000
committerChris Lattner <sabre@nondot.org>2006-01-31 02:45:52 +0000
commit0e70729e8327d649fdb5901c5d3dca331ed71ee7 (patch)
tree6e332789f858faab05145e1ed1f11031cdc62bec
parentd916e78b0a126638fc28ca481fb309a7873dfad3 (diff)
downloadbcm5719-llvm-0e70729e8327d649fdb5901c5d3dca331ed71ee7.tar.gz
bcm5719-llvm-0e70729e8327d649fdb5901c5d3dca331ed71ee7.zip
I don't see why this optimization isn't safe, but it isn't, so disable it
llvm-svn: 25829
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp b/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
index 44df26b0624..91f25f69fe8 100644
--- a/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
@@ -431,7 +431,8 @@ SparcV8TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
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.
OpenPOWER on IntegriCloud