You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Arith] Implement statistics counters for RewriteSimplifier (#14532)
* [Arith] Implement statistics counters for RewriteSimplifier
Previously, so long as `RewriteSimplifier` produces the same output,
unit tests of its behavior would pass. This could have severe
performance regressions, such as the one resolved in
#14528, which caused the runtime of
two test to increase from ~1.5 seconds to ~10 minutes each.
This commit implements statistics counts in RewriteSimplifier, which
are exposed through both the C++ and Python APIs, and uses these to
guard against the known performance regression from
#14528.
* lint fixes
* Updates based on review comments
* Consistent int64_t with kMaxRecurDepth
* Removed unused is_currently_visiting_
* Add missing \brief for RewriteSimplifierStatsNode
* Use int64_t in ControlFlowGraph for max simplification steps
0 commit comments