LLVM ERROR: "Vector elements must have same size" with -Zmir-opt-level=3 #104037
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
You may need a debug-assertions build of llvm to reproduce this.
Interestingly this only triggers with mir-opt-level
3
but not with2
.Meta
rustc --version --verbose
:Error output
rustc -Copt-level=3 103380.rs
Backtrace
The text was updated successfully, but these errors were encountered: