diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-04 18:44:47 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-04 18:44:47 +0000 |
commit | 429c8eda22eaa5567612dd804e75973aa1b6e5b3 (patch) | |
tree | 531792080dd531606afb216bb7663fe41af41472 /llvm/lib/CodeGen | |
parent | d170c4b57a91adc74ca89c6d4af616a00323b12c (diff) | |
download | bcm5719-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.cpp | 2 |
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]); |