mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
Temporary disable the error - it seems to be too conservative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2a39bd24f
commit
b23f3aa270
@ -459,12 +459,13 @@ bool X86RegisterInfo::needsStackRealignment(const MachineFunction &MF) const {
|
|||||||
RealignStack && (MFI->getMaxAlignment() > StackAlign);
|
RealignStack && (MFI->getMaxAlignment() > StackAlign);
|
||||||
|
|
||||||
// FIXME: Currently we don't support stack realignment for functions with
|
// FIXME: Currently we don't support stack realignment for functions with
|
||||||
// variable-sized allocas
|
// variable-sized allocas.
|
||||||
if (requiresRealignment && MFI->hasVarSizedObjects())
|
// FIXME: Temporary disable the error - it seems to be too conservative.
|
||||||
|
if (0 && requiresRealignment && MFI->hasVarSizedObjects())
|
||||||
llvm_report_error(
|
llvm_report_error(
|
||||||
"Stack realignment in presense of dynamic allocas is not supported");
|
"Stack realignment in presense of dynamic allocas is not supported");
|
||||||
|
|
||||||
return requiresRealignment;
|
return (requiresRealignment && !MFI->hasVarSizedObjects());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool X86RegisterInfo::hasReservedCallFrame(MachineFunction &MF) const {
|
bool X86RegisterInfo::hasReservedCallFrame(MachineFunction &MF) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user