Lunderberg commented on PR #16732: URL: https://github.com/apache/tvm/pull/16732#issuecomment-2029092641
Ooh, that's a weird one, and thank you for the test case. I can reproduce it on my side, and will look in more detail tomorrow. For now, the first thing I'm noticing is that the failure occurs on the third time that `rewriter` is called, where I'd expect it to only be called twice (once for each branch). `matches[pat_match_no_rewrite]` is filled during the first call, and `matches[pat_add]` is filled during the second call. During the third call, which fails the assert, `matches[pat_match_no_rewrite]` is filled again, which seems rather odd. -- 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: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org