forked from OSchip/llvm-project
There should be no need to keep renumbering blocks during tail duplication.
llvm-svn: 89275
This commit is contained in:
parent
6456fb94f5
commit
b3c5aa20ea
|
@ -1011,9 +1011,6 @@ static bool IsBetterFallthrough(MachineBasicBlock *MBB1,
|
|||
bool BranchFolder::TailDuplicateBlocks(MachineFunction &MF) {
|
||||
bool MadeChange = false;
|
||||
|
||||
// Make sure blocks are numbered in order
|
||||
MF.RenumberBlocks();
|
||||
|
||||
for (MachineFunction::iterator I = ++MF.begin(), E = MF.end(); I != E; ) {
|
||||
MachineBasicBlock *MBB = I++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue