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 bab9d4c commit 42e7796Copy full SHA for 42e7796
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -476,8 +476,10 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &mf) {
476
477
LLVM_DEBUG(dbgs() << "Beginning BR iteration #" << NoBRIters << '\n');
478
bool BRChange = false;
479
- for (unsigned i = 0, e = ImmBranches.size(); i != e; ++i)
+ for (unsigned i = 0, e = ImmBranches.size(); i != e; ++i) {
480
+ // Note: fixupImmediateBr can append to ImmBranches.
481
BRChange |= fixupImmediateBr(ImmBranches[i]);
482
+ }
483
if (BRChange && ++NoBRIters > 30)
484
report_fatal_error("Branch Fix Up pass failed to converge!");
485
LLVM_DEBUG(dumpBBs());
0 commit comments