Skip to content

riscv64 behavior tests stopped passing with LLVM 14 upgrade #12054

Closed
@andrewrk

Description

@andrewrk

They pass for me locally but stopped working on the CI:

770/1319 test.remainder division... FAIL (TestUnexpectedResult)
771/1319 test.float remainder division using @rem... FAIL (TestUnexpectedResult)
772/1319 test.float modulo division using @mod... FAIL (TestUnexpectedResult)
780/1319 test.@ceil f80... FAIL (TestUnexpectedResult)
781/1319 test.@ceil f128... FAIL (TestUnexpectedResult)
789/1319 test.NaN comparison... FAIL (TestUnexpectedResult)
1223 passed; 90 skipped; 6 failed.
error: the following test command failed with exit code 1:
qemu-riscv64 /workspace/zig-cache/o/ba238760a1396f763444a4cf0e622395/test /workspace/stage2/bin/zig
test...The following command exited with error code 1:
/workspace/stage2/bin/zig test /workspace/test/behavior.zig --test-name-prefix behavior-riscv64-linux-none-Debug-bare-multi-default  --cache-dir /workspace/zig-cache --global-cache-dir /root/.cache/zig --name test -fno-single-threaded -target riscv64-linux-none -mcpu baseline_rv64 --test-cmd qemu-riscv64 --test-cmd-bin -I /workspace/test --zig-lib-dir /workspace/lib --enable-cache 

This issue is to figure out why, fix it, and to re-enable test coverage.

Metadata

Metadata

Assignees

Labels

arch-riscv32-bit and 64-bit RISC-Vbackend-llvmThe LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.regressionIt worked in a previous version of Zig, but stopped working.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions