[PATCH] [WinEH] Handle the case of nested landing pads that return to a block in the parent function.
Reid Kleckner
rnk at google.com
Mon May 11 15:51:11 PDT 2015
LGTM
REPOSITORY
rL LLVM
================
Comment at: lib/CodeGen/WinEHPrepare.cpp:894
@@ +893,3 @@
+ auto *Br = dyn_cast<BranchInst>(Target->getTerminator());
+ if (Br && Br->isUnconditional() && Br != Target->getFirstNonPHIOrDbgOrLifetime()) {
+ Instruction *Prev = Br->getPrevNode();
----------------
wrap
http://reviews.llvm.org/D9684
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list