summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-05-14 21:58:35 +0000
committerBill Wendling <isanbard@gmail.com>2010-05-14 21:58:35 +0000
commit1713d9587423e9fea708a2966c817ae7cfcbcdfd (patch)
tree2744f5e442ec64b5fba81659cce41e949492d67d /llvm/lib
parente68b814c8c89f0e9d85bf7a0e8d7991c40c1bc6b (diff)
downloadbcm5719-llvm-1713d9587423e9fea708a2966c817ae7cfcbcdfd.tar.gz
bcm5719-llvm-1713d9587423e9fea708a2966c817ae7cfcbcdfd.zip
Several tail call tests apparently rely upon this being "adjusts stack" instead
of "has calls". That's probably wrong, but it needs further investigation. Revert to the original behavior until this is settled. llvm-svn: 103824
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86RegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.cpp b/llvm/lib/Target/X86/X86RegisterInfo.cpp
index f24138ae1de..2db3c703cc9 100644
--- a/llvm/lib/Target/X86/X86RegisterInfo.cpp
+++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp
@@ -898,7 +898,7 @@ void X86RegisterInfo::emitPrologue(MachineFunction &MF) const {
if (Is64Bit && !Fn->hasFnAttr(Attribute::NoRedZone) &&
!needsStackRealignment(MF) &&
!MFI->hasVarSizedObjects() && // No dynamic alloca.
- !MFI->hasCalls() && // No calls.
+ !MFI->adjustsStack() && // No calls.
!Subtarget->isTargetWin64()) { // Win64 has no Red Zone
uint64_t MinSize = X86FI->getCalleeSavedFrameSize();
if (HasFP) MinSize += SlotSize;
OpenPOWER on IntegriCloud