LLVM miscompilation/assert in ui/issues/issue-23036.rs
on wasm32-unknown-unknown target
#93923
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
ICEBreaker-LLVM
Bugs identified for the LLVM ICE-breaker group
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
Context: #93697 - the test had to be disabled there to get a fix in
With patched library/std/src/path.rs running the UI tests targeting wasm32 causes this failure with LLVM asserts enabled:
With LLVM asserts disabled it produces invalid wasm bytecode:
Manually executing the rustc command printed by the UI test and adding
--emit=llvm-ir
generates the following IR repro.ir.txt. Running that throughllc
(built by bootstrap) also produces invalid bytecode (checked withwasm-dis
).Tested on base commit 686663a + PR #93697 (currently 45082b0)
@rustbot ping llvm
The text was updated successfully, but these errors were encountered: