Open YehorBoiar opened 4 days ago
There are a few rules left over that are duplicates total/partial evaluators, so I agree with this.
Once #401 is merged, you should be able to find these quite easily.
I checked #401. Now, new choose_rewrite
would warn us about rules that are applicable, but not being applied as they are of a low priority.
So, I can just go through all warn messages that we are getting from that function right now. See what rules are never being applied. Open a PR where we would discuss removing those kind of rules. @ozgurakgun @niklasdewally what do you think?
I checked #401. Now, new
choose_rewrite
would warn us about rules that are applicable, but not being applied as they are of a low priority.So, I can just go through all warn messages that we are getting from that function right now. See what rules are never being applied. Open a PR where we would discuss removing those kind of rules. @ozgurakgun @niklasdewally what do you think?
Perfect plan!
sounds good to me too
In the PR #370 @ozgurakgun pointed our that rule
remove_empty_expression
doesn't make much sence becuase the same thing should happen in a higher priority ruleapply_eval_constant
.Should we just get rid of that rule?