X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FARM%2FARMFrameLowering.h;h=66f4dfb6ef52314a13d29e4df5908c1651c65b41;hp=c85d7ee33096ad9c8fde07bfc9730e17d0c89e57;hb=9eaef595284c567310bc6f0009f83d77a554b881;hpb=be1cec0cb76bf6c56145dc9c33761bbc46eee89d;ds=sidebyside diff --git a/lib/Target/ARM/ARMFrameLowering.h b/lib/Target/ARM/ARMFrameLowering.h index c85d7ee3309..66f4dfb6ef5 100644 --- a/lib/Target/ARM/ARMFrameLowering.h +++ b/lib/Target/ARM/ARMFrameLowering.h @@ -57,6 +57,11 @@ public: void adjustForSegmentedStacks(MachineFunction &MF, MachineBasicBlock &MBB) const override; + /// Returns true if the target will correctly handle shrink wrapping. + bool enableShrinkWrapping(const MachineFunction &MF) const override { + return true; + } + private: void emitPushInst(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const std::vector &CSI, unsigned StmOpc,