mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Oops. Don't forget to align single bb loops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60150a3dc4
commit
5374405dc1
@ -248,7 +248,7 @@ static bool HeaderShouldBeAligned(MachineBasicBlock *MBB) {
|
||||
for (MachineBasicBlock::pred_iterator PI = MBB->pred_begin(),
|
||||
PE = MBB->pred_end(); PI != PE; ++PI) {
|
||||
MachineBasicBlock *PredMBB = *PI;
|
||||
if (PredMBB->getNumber() > MBB->getNumber())
|
||||
if (PredMBB == MBB || PredMBB->getNumber() > MBB->getNumber())
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user