ICE due to generating LLVM bitcast vec -> array #105439
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
PG-portable-simd
Project group: Portable SIMD (https://github.com/rust-lang/project-portable-simd)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found here: #105344 (comment)
Code:
Invocation:
Causes an LLVM ICE:
This reproduces easily on Godbolt.
The invalid bitcast is introduced by codgen for the MIR statement
_1 = (_25.0: [i32; 4]);
on line 151.Local
_25
has typestd::simd::Simd<i32, 4>
. I believe the bitcast is introduced here, but I don't think this path is even intended to handle Simd types. I'm not exactly sure what the bug here is either, ie I have no idea how this was supposed to be codegened.@rustbot label +A-codegen +A-llvm +I-ICE +T-compiler
The text was updated successfully, but these errors were encountered: