-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve standard simplify rule matches in non-commutative contexts (#…
…2841) * Improve standard simplify rule matches in non-commutative contexts Addresses the rule application limitation aspect as highlighted in issue #2825; such that a broader set of successful standard replacement rules are applied to multi-arg/associative expressions in non-commutative contexts. * Remove 'clone()' operations on expanded simplify rules since original rule nodes (including expanded variations) are essentially readonly objects, cloning of expanded rule LHS' is unnecessary during canonicalization * Hoist non-commutative context expanded rule app. in simplify (applyRule) * Add two simplify non-commutative ctx. test cases
- Loading branch information
Showing
2 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters