Skip to content

LLVM codegen errors with Invalid insertelement operands in latest nightlies #121180

Closed
@AlexTMjugador

Description

@AlexTMjugador

Code

https://github.com/ComunidadAylas/PackSquash/tree/8ddb8451b4c4102188e6807233feac6cb4091872

Meta

rustc --version --verbose:

1.78.0-nightly (a4472498d 2024-02-15)

Error output

Can be seen in more detail in GitHub Actions workflow output logs:

image
image

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 below rustc, 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 the rustfft 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.

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.llvm-fixed-upstreamIssue expected to be fixed by the next major LLVM upgrade, or backported fixes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions