[llvm] r249280 - [SelectionDAGBuilder] Remove dead code
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 4 11:44:48 PDT 2015
Author: majnemer
Date: Sun Oct 4 13:44:47 2015
New Revision: 249280
URL: http://llvm.org/viewvc/llvm-project?rev=249280&view=rev
Log:
[SelectionDAGBuilder] Remove dead code
We already check for LandingPadInst two lines above.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=249280&r1=249279&r2=249280&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Sun Oct 4 13:44:47 2015
@@ -1215,7 +1215,7 @@ findUnwindDestinations(FunctionLoweringI
// Stop on landingpads. They are not funclets.
UnwindDests.push_back(FuncInfo.MBBMap[EHPadBB]);
break;
- } else if (isa<CleanupPadInst>(Pad) || isa<LandingPadInst>(Pad)) {
+ } else if (isa<CleanupPadInst>(Pad)) {
// Stop on cleanup pads. Cleanups are always funclet entries for all known
// personalities.
UnwindDests.push_back(FuncInfo.MBBMap[EHPadBB]);
More information about the llvm-commits
mailing list