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 c9cdc33 commit 2248cdfCopy full SHA for 2248cdf
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -476,7 +476,7 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &mf) {
476
477
LLVM_DEBUG(dbgs() << "Beginning BR iteration #" << NoBRIters << '\n');
478
bool BRChange = false;
479
- for (ImmBranch &Br : ImmBranches)
+ for (ImmBranch &Br : llvm::make_early_inc_range(ImmBranches))
480
BRChange |= fixupImmediateBr(Br);
481
if (BRChange && ++NoBRIters > 30)
482
report_fatal_error("Branch Fix Up pass failed to converge!");
0 commit comments