We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8bcf64 commit d567159Copy full SHA for d567159
1 file changed
src/passes/CoalesceLocals.cpp
@@ -407,7 +407,7 @@ void CoalesceLocalsWithLearning::pickIndices(std::vector<Index>& indices) {
407
for (Index i = 0; i < parent->numLocals; i++) {
408
if ((*order)[i] == i) fitness += fragment; // boost for each that wasn't moved
409
}
410
- fitness = (100 * fitness) + removedCopies; // removing copies is a secondary concern
+ fitness = fitness + 100 * removedCopies; // removing copies is a secondary concern
411
order->setFitness(fitness);
412
413
0 commit comments