[PATCH] D71862: [WinEH] Delete addFnAttr("no-frame-pointer-elim") which seems no longer needed

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 17:06:05 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1ac7c50ded42: [WinEH] Delete addFnAttr("no-frame-pointer-elim") which seems no longer needed (authored by MaskRay).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71862/new/

https://reviews.llvm.org/D71862

Files:
  llvm/lib/Target/X86/X86WinEHState.cpp


Index: llvm/lib/Target/X86/X86WinEHState.cpp
===================================================================
--- llvm/lib/Target/X86/X86WinEHState.cpp
+++ llvm/lib/Target/X86/X86WinEHState.cpp
@@ -179,11 +179,6 @@
                       {Int8PtrType, Type::getInt32Ty(TheModule->getContext())},
                       /*isVarArg=*/true));
 
-  // Disable frame pointer elimination in this function.
-  // FIXME: Do the nested handlers need to keep the parent ebp in ebp, or can we
-  // use an arbitrary register?
-  F.addFnAttr("no-frame-pointer-elim", "true");
-
   emitExceptionRegistrationRecord(&F);
 
   // The state numbers calculated here in IR must agree with what we calculate


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71862.235240.patch
Type: text/x-patch
Size: 691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191225/aca5bf64/attachment.bin>


More information about the llvm-commits mailing list