You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
elliottt
added
bug
Incorrect behavior in the current implementation that needs fixing
cranelift
Issues related to the Cranelift code generator
labels
Aug 11, 2022
Hi @elliottt . Does this unreachable case get hit before patch #4684 ?
I have not tried, but the comments here say this unreachable is guarded by both the Opcode::FcvtToUnit and Opcode::FcvtToSint. It looks like 4864 removed one of those branches and if so I wondering if that patch (removing that code) introduced the possibility of this fall through?
.clif
Test CaseSteps to Reproduce
Compiling this causes an unreachable case to be reached:
wasmtime/cranelift/codegen/src/isa/x64/lower.rs
Lines 800 to 804 in 380db48
Expected Results
Either an error or a successful compilation.
Actual Results
Panic
Versions and Environment
Cranelift version or commit: 0c2e049
Operating system: linux
Architecture: x86_64
The text was updated successfully, but these errors were encountered: