-
Notifications
You must be signed in to change notification settings - Fork 82
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
Bad codegen for bitwise OR/AND masks #303
Comments
I think this is a duplicate of #146. I haven't seen any updates to llvm/llvm-project#50466. |
Hmm. May or may not be the same bug, given this isn't regarding the same instructions. Depends on if the same machine opt passes are failing to do their work. |
I'm pretty sure it's the same class of bug. The previous one just referred to "or" and this one "and". I reference both in my LLVM issue, at least. |
This might have been fixed by the llvm 18 update on nightly: https://rust.godbolt.org/z/cojTW48PM |
https://rust.godbolt.org/z/5obPq9W3G
The
m.all()
expression in functionis_hex
should generateumaxv
(uminv/smaxv/sminv
) instruction like the one in functionis_ascii
. But it generates lots of scalar instructions, leading to poor performance.The text was updated successfully, but these errors were encountered: