Lunderberg commented on code in PR #16227:
URL: https://github.com/apache/tvm/pull/16227#discussion_r1427218216
##########
tests/python/tir-transform/test_tir_transform_simplify.py:
##########
@@ -1757,5 +1757,27 @@ def expected(a: T.handle):
A[T.int64(1)] = T.float32(0)
+class TestNestedIfElimination(BaseBeforeAfter):
+ def before(a: T.Buffer((2, 8), "int32"), b: T.Buffer((2, 8), "int32")):
+ for i0, j0 in T.grid(2, 8):
+ with T.block("P"):
Review Comment:
Does the test case depend on the `BlockNode` being present? If not, we
should remove it. (Removing the `with T.block`, `T.axis.remap`, `T.reads`, and
`T.writes` lines, then using `i0` and `j0` directly.)
--
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]