Lunderberg commented on PR #13933: URL: https://github.com/apache/tvm/pull/13933#issuecomment-1422999995
This arose from some experiments regarding RewriteSimplifier that didn't end up materializing. During development, it was error prone to make identical updates across several related rules, so I put this utility together. The performance when using `PMatchesOneOf` is matched to the performance when specifying rules independently. The call to `analyzer.rewrite_simplify(test_case.before)` was benchmarked for each expression in `tests/python/unittest/test_arith_rewrite_simplify.py`, with no deviations noticed. Each data point in the plots below is the benchmark results of one of the expressions.   -- 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]
