diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-04-03 22:32:26 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-04-03 22:32:26 +0000 |
commit | 3337064a47a7fbc1e40c41975a8fe084493fd759 (patch) | |
tree | 7bda09bdd847fc27ee4ac905565530c367b0a501 /llvm/lib/IR/Verifier.cpp | |
parent | 25a0d3dd64e4c0873036140587f48ec00893f9f2 (diff) | |
download | bcm5719-llvm-3337064a47a7fbc1e40c41975a8fe084493fd759.tar.gz bcm5719-llvm-3337064a47a7fbc1e40c41975a8fe084493fd759.zip |
[WinEH] Sink UnwindHelp completely out of IR
We don't need to represent UnwindHelp in IR. Instead, we can use the
knowledge that we are emitting the parent function to decide if we
should create the UnwindHelp stack object.
llvm-svn: 234061
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index 15e354b8dfc..accd5cd8940 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -3230,13 +3230,6 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { break; } - case Intrinsic::eh_unwindhelp: { - auto *AI = dyn_cast<AllocaInst>(CI.getArgOperand(0)->stripPointerCasts()); - Assert(AI && AI->isStaticAlloca(), - "llvm.eh.unwindhelp requires a static alloca", &CI); - break; - } - case Intrinsic::experimental_gc_statepoint: Assert(!CI.isInlineAsm(), "gc.statepoint support for inline assembly unimplemented", &CI); |