We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa05864 commit 8943036Copy full SHA for 8943036
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -476,8 +476,8 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &mf) {
476
477
LLVM_DEBUG(dbgs() << "Beginning BR iteration #" << NoBRIters << '\n');
478
bool BRChange = false;
479
- for (ImmBranch &Br : llvm::make_early_inc_range(ImmBranches))
480
- BRChange |= fixupImmediateBr(Br);
+ for (unsigned i = 0, e = ImmBranches.size(); i != e; ++i)
+ BRChange |= fixupImmediateBr(ImmBranches[i]);
481
if (BRChange && ++NoBRIters > 30)
482
report_fatal_error("Branch Fix Up pass failed to converge!");
483
LLVM_DEBUG(dumpBBs());
0 commit comments