afonso360 edited issue #5859:
:wave: Hey,
cranelift-icache
found this issue.
.clif
Test Casetest compile target s390x function u1:0() -> i16 uext system_v { ss0 = explicit_slot 85 block0: v36 = iconst.i16 0x5551 v149 = stack_load.i16 ss0+42 v151 = smax v149, v36 return v151 }
Steps to Reproduce
clif-util test ./the-above.clif
Expected Results
The test to pass
Actual Results
Running `/home/afonso/git/wasmtime/target/debug/clif-util test ./lmao.clif` thread 'worker #0' panicked at 'assertion failed: !self.inst_sunk.contains(&inst)', cranelift/codegen/src/machinst/lower.rs:1290:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: assertion failed: !self.inst_sunk.contains(&inst) FAIL ./lmao.clif: panicked in worker #0: assertion failed: !self.inst_sunk.contains(&inst) 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
This only happens on
i16
andi8
's. Passes withi32
/i64
.cc: @uweigand
uweigand commented on issue #5859:
Thanks for the report! I've posted a fix now.
jameysharp closed issue #5859:
:wave: Hey,
cranelift-icache
found this issue.
.clif
Test Casetest compile target s390x function u1:0() -> i16 uext system_v { ss0 = explicit_slot 85 block0: v36 = iconst.i16 0x5551 v149 = stack_load.i16 ss0+42 v151 = smax v149, v36 return v151 }
Steps to Reproduce
clif-util test ./the-above.clif
Expected Results
The test to pass
Actual Results
Running `/home/afonso/git/wasmtime/target/debug/clif-util test ./lmao.clif` thread 'worker #0' panicked at 'assertion failed: !self.inst_sunk.contains(&inst)', cranelift/codegen/src/machinst/lower.rs:1290:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: assertion failed: !self.inst_sunk.contains(&inst) FAIL ./lmao.clif: panicked in worker #0: assertion failed: !self.inst_sunk.contains(&inst) 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
This only happens on
i16
andi8
's. Passes withi32
/i64
.cc: @uweigand
Last updated: Nov 22 2024 at 16:03 UTC