afonso360 opened issue #5863:
:wave: Hey,
.clif
Test Casetest compile target s390x function u1:0() -> i64 system_v { block0: v8 = iconst.i8 0 v10 = iconst.i64 0x8000_0000_0000_0000 v21 = isub v10, v10 v23 = ushr v21, v8 return v23 }
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 'attempt to negate with overflow', cranelift/codegen/src/isa/s390x/lower/isle.rs:645:33 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: attempt to negate with overflow FAIL ./lmao.clif: panicked in worker #0: attempt to negate with overflow 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
cc: @uweigand
afonso360 labeled issue #5863:
:wave: Hey,
.clif
Test Casetest compile target s390x function u1:0() -> i64 system_v { block0: v8 = iconst.i8 0 v10 = iconst.i64 0x8000_0000_0000_0000 v21 = isub v10, v10 v23 = ushr v21, v8 return v23 }
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 'attempt to negate with overflow', cranelift/codegen/src/isa/s390x/lower/isle.rs:645:33 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: attempt to negate with overflow FAIL ./lmao.clif: panicked in worker #0: attempt to negate with overflow 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
cc: @uweigand
afonso360 labeled issue #5863:
:wave: Hey,
.clif
Test Casetest compile target s390x function u1:0() -> i64 system_v { block0: v8 = iconst.i8 0 v10 = iconst.i64 0x8000_0000_0000_0000 v21 = isub v10, v10 v23 = ushr v21, v8 return v23 }
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 'attempt to negate with overflow', cranelift/codegen/src/isa/s390x/lower/isle.rs:645:33 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: attempt to negate with overflow FAIL ./lmao.clif: panicked in worker #0: attempt to negate with overflow 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
cc: @uweigand
afonso360 labeled issue #5863:
:wave: Hey,
.clif
Test Casetest compile target s390x function u1:0() -> i64 system_v { block0: v8 = iconst.i8 0 v10 = iconst.i64 0x8000_0000_0000_0000 v21 = isub v10, v10 v23 = ushr v21, v8 return v23 }
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 'attempt to negate with overflow', cranelift/codegen/src/isa/s390x/lower/isle.rs:645:33 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: attempt to negate with overflow FAIL ./lmao.clif: panicked in worker #0: attempt to negate with overflow 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
cc: @uweigand
uweigand commented on issue #5863:
Thanks for the report! I've posted a fix for this as well.
jameysharp closed issue #5863:
:wave: Hey,
.clif
Test Casetest compile target s390x function u1:0() -> i64 system_v { block0: v8 = iconst.i8 0 v10 = iconst.i64 0x8000_0000_0000_0000 v21 = isub v10, v10 v23 = ushr v21, v8 return v23 }
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 'attempt to negate with overflow', cranelift/codegen/src/isa/s390x/lower/isle.rs:645:33 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: attempt to negate with overflow FAIL ./lmao.clif: panicked in worker #0: attempt to negate with overflow 1 tests Error: 1 failure
Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: s390x
Extra Info
cc: @uweigand
Last updated: Dec 23 2024 at 12:05 UTC