mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 11:17:31 +00:00
I don't see why this optimization isn't safe, but it isn't, so disable it
llvm-svn: 25829
This commit is contained in:
parent
9b89cad951
commit
213a7b78fb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user