diff options
author | dim <dim@FreeBSD.org> | 2016-02-24 21:41:28 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2016-02-24 21:41:28 +0000 |
commit | 72672a13f91ec00fcf43f669f86c9706e973a925 (patch) | |
tree | 6346c1e1aa38dafadb058ab7e0cc261b396fd500 /contrib/llvm/lib/Target | |
parent | 7ef26dcde64aff82cf88b8e9354f8000fdf1b1c8 (diff) | |
download | FreeBSD-src-72672a13f91ec00fcf43f669f86c9706e973a925.zip FreeBSD-src-72672a13f91ec00fcf43f669f86c9706e973a925.tar.gz |
Undo r295543, since the shrink wrapping bug was fixed upstream by Davide
Italiano and Quentin Colombet.
Diffstat (limited to 'contrib/llvm/lib/Target')
-rw-r--r-- | contrib/llvm/lib/Target/X86/X86FrameLowering.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp b/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp index 62d88b7..f5ffe0c 100644 --- a/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/contrib/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -2592,9 +2592,6 @@ bool X86FrameLowering::canUseAsEpilogue(const MachineBasicBlock &MBB) const { bool X86FrameLowering::enableShrinkWrapping(const MachineFunction &MF) const { // If we may need to emit frameless compact unwind information, give // up as this is currently broken: PR25614. -#if 1 - return false; -#else return (MF.getFunction()->hasFnAttribute(Attribute::NoUnwind) || hasFP(MF)) && // The lowering of segmented stack and HiPE only support entry blocks // as prologue blocks: PR26107. @@ -2603,7 +2600,6 @@ bool X86FrameLowering::enableShrinkWrapping(const MachineFunction &MF) const { // - adjustForHiPEPrologue MF.getFunction()->getCallingConv() != CallingConv::HiPE && !MF.shouldSplitStack(); -#endif } MachineBasicBlock::iterator X86FrameLowering::restoreWin32EHStackPointers( |