diff options
author | Quentin Colombet <qcolombet@apple.com> | 2015-07-22 16:34:37 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2015-07-22 16:34:37 +0000 |
commit | 48b772007f8b65c0c2f0c5aa87a1c13a4096a8a7 (patch) | |
tree | c3758eb604041fbaffc40d1f614d91e1f2e62053 /llvm/lib/Target/ARM/ARMFrameLowering.cpp | |
parent | 5b0688edfd938dc077ddac7c8eb857d163edbea6 (diff) | |
download | bcm5719-llvm-48b772007f8b65c0c2f0c5aa87a1c13a4096a8a7.tar.gz bcm5719-llvm-48b772007f8b65c0c2f0c5aa87a1c13a4096a8a7.zip |
[ARM] Make the frame lowering code ready for shrink-wrapping.
Shrink-wrapping can now be tested on ARM with -enable-shrink-wrap.
Related to <rdar://problem/20821730>
llvm-svn: 242908
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFrameLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMFrameLowering.cpp b/llvm/lib/Target/ARM/ARMFrameLowering.cpp index 7b2369463e8..ba0d5f25b09 100644 --- a/llvm/lib/Target/ARM/ARMFrameLowering.cpp +++ b/llvm/lib/Target/ARM/ARMFrameLowering.cpp @@ -288,7 +288,6 @@ static void emitAligningInstructions(MachineFunction &MF, ARMFunctionInfo *AFI, void ARMFrameLowering::emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const { - assert(&MBB == &MF.front() && "Shrink-wrapping not yet implemented"); MachineBasicBlock::iterator MBBI = MBB.begin(); MachineFrameInfo *MFI = MF.getFrameInfo(); ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); @@ -1842,7 +1841,6 @@ void ARMFrameLowering::adjustForSegmentedStacks( if (!ST->isTargetAndroid() && !ST->isTargetLinux()) report_fatal_error("Segmented stacks not supported on this platform."); - assert(&PrologueMBB == &MF.front() && "Shrink-wrapping not yet implemented"); MachineFrameInfo *MFI = MF.getFrameInfo(); MachineModuleInfo &MMI = MF.getMMI(); MCContext &Context = MMI.getContext(); |