mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +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);
|
||||
|
||||
// FIXME: Currently we don't support stack realignment for functions with
|
||||
// variable-sized allocas
|
||||
if (requiresRealignment && MFI->hasVarSizedObjects())
|
||||
// variable-sized allocas.
|
||||
// FIXME: Temporary disable the error - it seems to be too conservative.
|
||||
if (0 && requiresRealignment && MFI->hasVarSizedObjects())
|
||||
llvm_report_error(
|
||||
"Stack realignment in presense of dynamic allocas is not supported");
|
||||
|
||||
return requiresRealignment;
|
||||
return (requiresRealignment && !MFI->hasVarSizedObjects());
|
||||
}
|
||||
|
||||
bool X86RegisterInfo::hasReservedCallFrame(MachineFunction &MF) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user