Lunderberg opened a new pull request, #11524: URL: https://github.com/apache/tvm/pull/11524
This adds additional simplifications to `RewriteSimplifier` while inside a conditional statement. These are simplifications that are expected to be necessary for simplifying conditionals for padding buffer transforms. The main additions are below: * Use of `RewriteSimplifier::literal_constraints_` for simplifications of boolean expressions. Previously, this was only used for simplifications inside a `tir.likely` annotation. * Use of `RewriteSimplifier::literal_constraints_` to identify known false constraints. This allows a constraint of `i!=n` to simplify `i==n` to false. * Use of `EqNode` constraints in `ConstIntBoundAnalyzer`. Previously, inequalities were used as comparisons. With this change an `i==5` constraint be used to reduce the bounds of `i` to `[5,5]`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
