DataflowConstProp trips LLVM assertion "Invalid constexpr bitcast!" #118047
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Reduced from
core
:Compilation should crash with this error:
Because we are trying to generate an LLVM bitcast from
i1
toi8
.The MIR dump looks like this:
I haven't been able to figure out how to produce this MIR without DataflowConstProp.
The text was updated successfully, but these errors were encountered: