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 3a6a2b5 commit 65fda80Copy full SHA for 65fda80
lib/AST/RequirementMachine/HomotopyReduction.cpp
@@ -411,16 +411,16 @@ findRuleToDelete(llvm::function_ref<bool(unsigned)> isRedundantRuleFn) {
411
if (!isRedundantRuleFn(ruleID))
412
continue;
413
414
- if (!found) {
415
- found = pair;
416
- continue;
417
- }
418
-
419
if (Debug.contains(DebugFlags::HomotopyReductionDetail)) {
420
llvm::dbgs() << "** Candidate " << rule << " from loop #"
421
<< pair.first << "\n";
422
}
423
+ if (!found) {
+ found = pair;
+ continue;
+ }
+
424
// 'rule' is the candidate rule; 'otherRule' is the best rule to eliminate
425
// we've found so far.
426
const auto &otherRule = getRule(found->second);
0 commit comments