Closed khei4 closed 1 year ago
Vector addition tests seem reasonable to introduction tests.
Hi @khei4 , thank you for visiting and for reporting this!
If this is intentional for some reasons, close this silently :)
No, this is an oversight. I don't remember why I left it like this. Clearly these tests need some love, but I don't have the bandwidth. PRs are welcome ;-)
-Andrzej
@banach-space Thank you for replying! These examples seem to be decided unprofitable to vectorize, I found a similar case on the LLVM discourse thread.
Adding -slp-threshold=-100
vectorized these examples, and updating the tests with update_test_checks.py works fine.
Adding a negative threshold seems better to keep the test simple I think. TBH, I'm not familiar with the syntax for FileCheck, but I'll work on sustaining the original test cases :)
Having auto-generated checks is better than no checks at all ;-)
for SLP tests, File check commands have lacked. If add it, tests failed. So it might be better to update them. like
If this is intentional for some reasons, close this silently :)
https://github.com/banach-space/llvm-tutor/blob/main/test/llvm/slp_x86.ll https://github.com/banach-space/llvm-tutor/blob/main/test/llvm/slp_aarch64.ll