You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/12/01 16:31:24 UTC
[GitHub] [tvm] csullivan commented on a diff in pull request #13299: [TIR] Introduce ReduceBranchingThroughOvercompute
csullivan commented on code in PR #13299:
URL: https://github.com/apache/tvm/pull/13299#discussion_r1037328602
##########
tests/python/unittest/test_tir_transform_simplify.py:
##########
@@ -1689,5 +1689,26 @@ def expected(A: T.Buffer[1, "int32"]):
A[0] = 12
+# class TestTemp(BaseBeforeAfter):
+# """Simplification using prior known"""
+
+# transitively_prove_inequalities = False
+# convert_boolean_to_and_of_ors = False
+# apply_constraints_to_boolean_branches = False
+# propagate_knowns_to_prove_conditional = False
+# propagate_knowns_to_simplify_expressions = False
+
+# def before(A: T.Buffer[16, "int32"]):
+# for i in T.serial(16):
+# if i != 0:
+# if i * i == 0:
+# A[i] = 5
+
+# def expected(A: T.Buffer[16, "int32"]):
+# for i in T.serial(16):
+# if i != 0:
+# T.evaluate(0)
+
+
Review Comment:
Will need to remove this.
--
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-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org