jwfromm commented on code in PR #12717: URL: https://github.com/apache/tvm/pull/12717#discussion_r966383754
########## tests/python/unittest/test_tir_schedule_compute_inline.py: ########## @@ -822,5 +848,15 @@ def test_compute_inline_opaque_access_with_tvm_access_ptr(use_block_name): ) +def test_reverse_compute_inline_overcomputed_producer(use_block_name): + """Test reverse compute inline overcomputed producer""" + sch = tir.Schedule(elementwise_overcomputed_producer, debug_mask="all") + compute = "C" if use_block_name else sch.get_block("C") + sch.reverse_compute_inline(compute) + tvm.ir.assert_structural_equal( + elementwise_overcomputed_producer_reverse_inlined, sch.mod["main"] + ) + Review Comment: Should we also add a test for the opposite case where a consumer has a larger domain than the producer? -- 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