forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIR] Simplify chains of AndNode, chains of OrNode
Previously, application of pairwise simplification rules applied to a nested call to `And(And(a, b), c)` would attempt to simplify `a` and `b`, but would not attempt to simplify `a` and `c`. As a result, while `(i==j && i!=j)` would simplify to `false`, `(i==j && j==5) && i!=j` would not simplify. After this PR, all conditions that contribute to an `And` are checked for pairwise simplifications.
- Loading branch information
1 parent
7c531c8
commit 6d9216a
Showing
4 changed files
with
302 additions
and
86 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
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
Oops, something went wrong.