-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Failure] tests/python/topi/python/test_topi_broadcast.py::test_shift under LLVM12 #7539
Comments
The method to legalize/ lower vector shift (like: v8i16 = sra t15, t14 ) changed in llvm X86 backend change (version>10) Dumped examples for shift right with v8i16 and v4i32 type (llvm12): Legalizing vector op: t20: v4i32 = sra t19, t16 Legalizing vector op: t16: v8i16 = sra t15, t14 |
I see, Thank you @mesauser for looking into it, seems the solution should be disable the i16 and i8 shift test for now? A PR is more than welcomed |
#7539 Co-authored-by: guoweijun <guoweijun@baidu.com>
Thank you @mesauser ! |
apache#7539 Co-authored-by: guoweijun <guoweijun@baidu.com>
apache#7539 Co-authored-by: guoweijun <guoweijun@baidu.com>
Test failed on latest llvm 12.0
FAILED tests/python/topi/python/test_topi_broadcast.py::test_shift - AssertionError:
E AssertionError:
E Not equal to tolerance rtol=0.0001, atol=0.0001
E
E Mismatched elements: 4 / 4 (100%)
E Max absolute difference: 88
E Max relative difference: inf
E x: array([[[-128, -88],
E [ 32, 8]]], dtype=int8)
E y: array([[[0, 0],
E [0, 0]]], dtype=int8)
python/tvm/testing.py:82: AssertionError
There is a test failed on llvm12.0, but success on llvm-8.
I saw the llvm version in Jenkins test system is still 8.0 while the most recent release is 12.0.
It will not be noticed by developer if the test is still base on older llvm version.
Is there a plan to migrate the test base on latest llvm or multi-versions?
The text was updated successfully, but these errors were encountered: