Skip to content
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: The error message for the clif-util run -v command appears to be incorrect. #9684

Open
abc767234318 opened this issue Nov 26, 2024 · 3 comments

Comments

@abc767234318
Copy link

I constructed a clif file.

multi_func8.zip

I used the following command to run it.

clif-util run -v multi_func8.clif

And I got the following error message:

cases/multi_func8.clif: Compilation error: Unsupported feature: should be implemented in ISLE: inst = `store.f16x8 notrap aligned little v2, v1`, type = `None`
1 file
Error: 1 failure

I think the error is triggered by the store.f16x8 instruction, but I can't find any store.f16x8 instruction in this clif file.

@bjorn3
Copy link
Contributor

bjorn3 commented Nov 26, 2024

It is possible that the store.f16x8 is introduced by optimizations given that you enabled optimizations using set opt_level=speed.

@abc767234318
Copy link
Author

It is possible that the store.f16x8 is introduced by optimizations given that you enabled optimizations using set opt_level=speed.

Is it necessary to adjust the optimization strategy to avoid similar issues from occurring?

@bjorn3
Copy link
Contributor

bjorn3 commented Nov 26, 2024

I would recommend avoiding f16 entirely until Cranelift has proper support for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants