diff options
| author | Dan Gohman <gohman@apple.com> | 2009-11-11 18:42:28 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-11-11 18:42:28 +0000 |
| commit | 16cfb9106e6279f8974c0b4bc0359f4c5e7cdb0c (patch) | |
| tree | 736fe112c719ded46d3e1e58c2f252ee80ab7326 /llvm/lib/CodeGen | |
| parent | c86b5a15f56e8c895350c8b9c8a6b1d68d41a3b3 (diff) | |
| download | bcm5719-llvm-16cfb9106e6279f8974c0b4bc0359f4c5e7cdb0c.tar.gz bcm5719-llvm-16cfb9106e6279f8974c0b4bc0359f4c5e7cdb0c.zip | |
Fix indentation level.
llvm-svn: 86856
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index a91fc1ecf5a..38f11abdb3a 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -753,14 +753,14 @@ bool BranchFolder::TailMergeBlocks(MachineFunction &MF) { MergePotentials.push_back(std::make_pair(HashEndOfMBB(PBB, 1U), *P)); } } - if (MergePotentials.size() >= 2) - MadeChange |= TryMergeBlocks(I, PredBB); - // Reinsert an unconditional branch if needed. - // The 1 below can occur as a result of removing blocks in TryMergeBlocks. - PredBB = prior(I); // this may have been changed in TryMergeBlocks - if (MergePotentials.size() == 1 && - MergePotentials.begin()->second != PredBB) - FixTail(MergePotentials.begin()->second, I, TII); + if (MergePotentials.size() >= 2) + MadeChange |= TryMergeBlocks(I, PredBB); + // Reinsert an unconditional branch if needed. + // The 1 below can occur as a result of removing blocks in TryMergeBlocks. + PredBB = prior(I); // this may have been changed in TryMergeBlocks + if (MergePotentials.size() == 1 && + MergePotentials.begin()->second != PredBB) + FixTail(MergePotentials.begin()->second, I, TII); } } return MadeChange; |

