guan404ming opened a new pull request, #19958: URL: https://github.com/apache/tvm/pull/19958
## Purpose Fixes #17745. `has_reshape_pattern` builds an inverse index map that divides by each iter extent, so a zero-extent iter crashed with divide-by-zero. Skip the fused-var check when any iter has zero extent; such blocks touch no elements, so they are not reshape patterns. ## Tests - Added `test_reshape_pattern_zero_extent` in `tests/python/relax/test_analysis.py` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
