diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:34:44 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:34:44 +0000 | 
| commit | 6b943ff3a3f8617113ecbf611cf0f8957e4e19d2 (patch) | |
| tree | fc5f365fb9035b2d0c622bbf06c9bbe8627d7279 /lib/CodeGen/BranchFolding.cpp | |
| parent | d0e4e96dc17a6c1c6de3340842c80f0e187ba349 (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
| -rw-r--r-- | lib/CodeGen/BranchFolding.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 78a87431feaa..77043406bc85 100644 --- a/lib/CodeGen/BranchFolding.cpp +++ b/lib/CodeGen/BranchFolding.cpp @@ -1048,7 +1048,7 @@ ReoptimizeBlock:      // AnalyzeBranch.      if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 &&          PrevBB.succ_size() == 1 && -        !MBB->hasAddressTaken()) { +        !MBB->hasAddressTaken() && !MBB->isLandingPad()) {        DEBUG(dbgs() << "\nMerging into block: " << PrevBB                     << "From MBB: " << *MBB);        PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end());  | 
