mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Disable a broken optimization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -445,7 +445,8 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
|||||||
ObjSize = 8;
|
ObjSize = 8;
|
||||||
// If we can store this directly into the outgoing slot, do so. We can
|
// If we can store this directly into the outgoing slot, do so. We can
|
||||||
// do this when all ArgRegs are used and if the outgoing slot is aligned.
|
// do this when all ArgRegs are used and if the outgoing slot is aligned.
|
||||||
if (RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
|
// FIXME: McGill/misr fails with this.
|
||||||
|
if (0 && RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
|
||||||
ValToStore = Val;
|
ValToStore = Val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -445,7 +445,8 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
|||||||
ObjSize = 8;
|
ObjSize = 8;
|
||||||
// If we can store this directly into the outgoing slot, do so. We can
|
// If we can store this directly into the outgoing slot, do so. We can
|
||||||
// do this when all ArgRegs are used and if the outgoing slot is aligned.
|
// do this when all ArgRegs are used and if the outgoing slot is aligned.
|
||||||
if (RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
|
// FIXME: McGill/misr fails with this.
|
||||||
|
if (0 && RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
|
||||||
ValToStore = Val;
|
ValToStore = Val;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user