File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
lib/AST/RequirementMachine Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -494,25 +494,6 @@ void RewritePath::dump(llvm::raw_ostream &out,
494
494
// / Use the 3-cells to delete rewrite rules, updating and simplifying existing
495
495
// / 3-cells as each rule is deleted.
496
496
void RewriteSystem::minimizeRewriteSystem () {
497
- for (auto loop : HomotopyGenerators) {
498
- SmallVector<unsigned > redundancyCandidates =
499
- loop.second .findRulesAppearingOnceInEmptyContext ();
500
- if (Debug.contains (DebugFlags::HomotopyReduction)) {
501
- if (!redundancyCandidates.empty ()) {
502
- llvm::dbgs () << " * Candidate 3-cell:\n " ;
503
- loop.second .dump (llvm::dbgs (), loop.first , *this );
504
- llvm::dbgs () << " \n " ;
505
- llvm::dbgs () << " Rules appearing once in empty context:\n " ;
506
-
507
- for (auto ruleID : redundancyCandidates) {
508
- const auto &rule = getRule (ruleID);
509
- rule.dump (llvm::dbgs ());
510
- llvm::dbgs () << " \n " ;
511
- }
512
- }
513
- }
514
- }
515
-
516
497
llvm::SmallDenseSet<unsigned > deletedRules;
517
498
llvm::SmallDenseSet<unsigned > deletedHomotopyGenerators;
518
499
You can’t perform that action at this time.
0 commit comments