[MemOperands] Clarify code around dropping memory operands [NFC]
[oota-llvm.git] / lib / CodeGen / PrologEpilogInserter.cpp
index 13e753692de417c4b64bef24f31290be1491d334..939c50027b0224af47bdac1b51a8182028cec9b4 100644 (file)
@@ -781,6 +781,9 @@ void PEI::insertPrologEpilogCode(MachineFunction &Fn) {
   for (MachineBasicBlock *RestoreBlock : RestoreBlocks)
     TFI.emitEpilogue(Fn, *RestoreBlock);
 
+  for (MachineBasicBlock *SaveBlock : SaveBlocks)
+    TFI.inlineStackProbe(Fn, *SaveBlock);
+
   // Emit additional code that is required to support segmented stacks, if
   // we've been asked for it.  This, when linked with a runtime with support
   // for segmented stacks (libgcc is one), will result in allocating stack