-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cranelift: SIMD icmp
fails to compile on aarch64 backend
#3335
Comments
This issue looks weird because |
Could this issue be during compilation the generated run wrapper instead of the test function itself? |
Yes, it looks like this is an issue with the generated trampoline. It looks like in the run test machinery we compile the source function ok, but then fail when compiling the trampoline. We're generating the following trampoline, which fails to compile (this is for x86_64, but i suspect the issue is the same for aarch64):
I'm going to dig a bit further into this. |
The |
That's true, however this should probably be a verifier error. Setting the correct type for I'll open a PR with this. Thanks for looking into this, I didn't realize it wasn't a backend issue. |
Hey,
It looks like SIMD
icmp
is failing to compile on aarch64. We have a similar situation on #3334 for x64, but for different reasons. The test below is only foricmp eq
, but this fails for any condition code..clif
Test CaseSteps to Reproduce
clif-util test ./the-above.clif
Expected Results
The test to pass
Actual Results
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: aarch64 QEMU
Extra Info
A
icmp
SIMD test suite was added in #3332The text was updated successfully, but these errors were encountered: