mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Minor code cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -596,9 +596,9 @@ void BranchFolder::RemoveBlocksWithHash(unsigned CurHash,
|
||||
/// only of the common tail. Create a block that does by splitting one.
|
||||
unsigned BranchFolder::CreateCommonTailOnlyBlock(MachineBasicBlock *&PredBB,
|
||||
unsigned maxCommonTailLength) {
|
||||
unsigned i, commonTailIndex;
|
||||
unsigned commonTailIndex = 0;
|
||||
unsigned TimeEstimate = ~0U;
|
||||
for (i=0, commonTailIndex=0; i<SameTails.size(); i++) {
|
||||
for (unsigned i = 0, e = SameTails.size(); i != e; ++i) {
|
||||
// Use PredBB if possible; that doesn't require a new branch.
|
||||
if (SameTails[i].getBlock() == PredBB) {
|
||||
commonTailIndex = i;
|
||||
|
Reference in New Issue
Block a user