tqchen commented on code in PR #16795:
URL: https://github.com/apache/tvm/pull/16795#discussion_r1542997032


##########
tests/python/arith/test_arith_rewrite_simplify.py:
##########
@@ -88,6 +88,14 @@ class TestVector(BaseCompare):
         ),
         TestCase(y.astype("int32x2") + x.astype("int32x2"), (y + 
x).astype("int32x2")),
         TestCase(tvm.tir.Broadcast(0, 4) + y, tvm.tir.Broadcast(y, 4)),
+        TestCase(
+            tvm.tir.Broadcast(x, 4) + tvm.tir.Ramp(0, 1, 
tvm.tir.IntImm(dtype="int64", value=4)),
+            tvm.tir.Ramp(x, 1, 4),
+        ),
+        TestCase(
+            tvm.tir.Broadcast(x, tvm.tir.IntImm(dtype="int64", value=4)) + 
tvm.tir.Ramp(0, 1, 4),

Review Comment:
   I actually meant that the value being broadcasted and ramp base being i64. 
but lanes remains i32, this would be a more common case in our setting



-- 
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

Reply via email to