-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
llvm: assertion triggered when casting non-register-sized integer to float #17381
Comments
Is this a regression? I notice the fix has not made its way into the release/17.x branch. |
It has been a bug since at least |
Gotcha, thanks for checking. Pushing a workaround shortly. |
Related: #17514 Master branch behavior tests are already tripping another assertion. |
Workaround landed in ab4d6bf; leaving open to remove the workaround after upgrading to LLVM 18. |
Hi, this is still an issue on master branch with LLVM 18 (from apt.llvm.org, Ubuntu 22.04).
Built with: |
LLVM 18 isnt released yet |
I can confirm that it works with LLVM 17. This was the source of confusion (from apt.llvm.org):
Which actually installs LLVM 18. |
the error you got is additionally odd because cmake should have told you 18 wasnt allowed much sooner than that assert |
Yeah, I had plenty of such assert. Just quoted the last one. Also had the same error after switching to 14, but that was maybe because I forgot to clean the build dir. I don't know. |
Fixed with the merge of LLVM 19 branch in c6ad452. |
|
This bug is currently triggered by this code when compiling the compiler under the proper circumstances (don't look at the cast direction too closely 🙄).
upstream: llvm/llvm-project#68068
The text was updated successfully, but these errors were encountered: