-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 codegen errors with Invalid insertelement operands
in latest nightlies
#121180
Comments
How should one reproduce this? |
Ah, I get the error with |
Repro: Does not reproduce with LLVM trunk. |
Looks like this has been fixed by llvm/llvm-project@48bbd76. |
Thanks for looking into the issue! The reproduction step is indeed to run |
Update to LLVM 18.1.0 rc 3 Fixes rust-lang#120819. Fixes rust-lang#121180. Fixes rust-lang#121239. Fixes rust-lang#121367.
Update to LLVM 18.1.0 rc 3 Fixes rust-lang#120819. Fixes rust-lang#121180. Fixes rust-lang#121239. Fixes rust-lang#121367.
Update to LLVM 18.1.0 rc 3 Fixes rust-lang#120819. Fixes rust-lang#121180. Fixes rust-lang#121239. Fixes rust-lang#121367.
Update to LLVM 18.1.0 rc 3 Fixes rust-lang#120819. Fixes rust-lang#121180. Fixes rust-lang#121239. Fixes rust-lang#121367.
Update to LLVM 18.1.0 rc 3 Fixes rust-lang#120819. Fixes rust-lang#121180. Fixes rust-lang#121239. Fixes rust-lang#121367.
Update to LLVM 18.1.0 rc 3 Fixes rust-lang#120819. Fixes rust-lang#121180. Fixes rust-lang#121239. Fixes rust-lang#121367.
Code
https://github.com/ComunidadAylas/PackSquash/tree/8ddb8451b4c4102188e6807233feac6cb4091872
Meta
rustc --version --verbose
:Error output
Can be seen in more detail in GitHub Actions workflow output logs:
Notes
This is a pretty low-level LLVM codegen error that does not really fit the bill of an internal
rustc
compile error, as it happens at a layer belowrustc
, but I picked this report template because it seems like a pretty "internal" issue with the Rust compiler nevertheless.I didn't dive into the precise cause of this error at all, but judging from the error messages, it seems related to
rustc
generating bad LLVM IR for therustfft
crate.On my CI setup, the issue only happens for Linux and macOS x64 targets. Windows x64 and Linux and macOS AArch64 targets build fine.
The text was updated successfully, but these errors were encountered: