diff options
| author | Fangrui Song <maskray@google.com> | 2019-12-24 16:30:37 -0800 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-12-24 17:02:19 -0800 |
| commit | 1ac7c50ded423de9a5101e1646da0287cc83d4cb (patch) | |
| tree | 49cf6e1c42ccd0af9c4a0b8f7ed1468b14937d2a | |
| parent | c853c73d3decdd37147a76ba0810ce143de40d55 (diff) | |
| download | bcm5719-llvm-1ac7c50ded423de9a5101e1646da0287cc83d4cb.tar.gz bcm5719-llvm-1ac7c50ded423de9a5101e1646da0287cc83d4cb.zip | |
[WinEH] Delete addFnAttr("no-frame-pointer-elim") which seems no longer needed
It was added in rL238619.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D71862
| -rw-r--r-- | llvm/lib/Target/X86/X86WinEHState.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86WinEHState.cpp b/llvm/lib/Target/X86/X86WinEHState.cpp index 35b721b4c9f..78d3f646018 100644 --- a/llvm/lib/Target/X86/X86WinEHState.cpp +++ b/llvm/lib/Target/X86/X86WinEHState.cpp @@ -179,11 +179,6 @@ bool WinEHStatePass::runOnFunction(Function &F) { {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 |

