summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-10-04 18:44:47 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-10-04 18:44:47 +0000
commit429c8eda22eaa5567612dd804e75973aa1b6e5b3 (patch)
tree531792080dd531606afb216bb7663fe41af41472 /llvm/lib/CodeGen
parentd170c4b57a91adc74ca89c6d4af616a00323b12c (diff)
downloadbcm5719-llvm-429c8eda22eaa5567612dd804e75973aa1b6e5b3.tar.gz
bcm5719-llvm-429c8eda22eaa5567612dd804e75973aa1b6e5b3.zip
[SelectionDAGBuilder] Remove dead code
We already check for LandingPadInst two lines above. llvm-svn: 249280
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index f779fd1b03a..d498c547bfd 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -1215,7 +1215,7 @@ findUnwindDestinations(FunctionLoweringInfo &FuncInfo,
// 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]);
OpenPOWER on IntegriCloud