[SelectionDAGBuilder] Remove dead code

We already check for LandingPadInst two lines above.

llvm-svn: 249280
This commit is contained in:
David Majnemer 2015-10-04 18:44:47 +00:00
parent d170c4b57a
commit 429c8eda22
1 changed files with 1 additions and 1 deletions

View File

@ -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]);