[PATCH] D15846: [WinEH] Simplify unreachable catchpads

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 16:36:31 PST 2016


majnemer added inline comments.

================
Comment at: lib/Transforms/Utils/SimplifyCFG.cpp:3546
@@ +3545,3 @@
+      if (CSI->getNumHandlers() == 0) {
+        assert(Changed);
+        BasicBlock *CatchSwitchBB = CSI->getParent();
----------------
Yes, I wasn't sure what you are asserting here.  I'll leave this up to your judgement.


http://reviews.llvm.org/D15846





More information about the llvm-commits mailing list