miscompile: miscompile rv64: addi,and,andi,beqz,bnez,fcvt.l.s
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | miscompile |
| Category: | miscompile rv64: addi,and,andi,beqz,bnez,fcvt.l.s M |
| Occurrences: | 3 in 3 configs, 2 test files |
| Snippet from: | half-convert.8268b6ca.21218c28.6abe3e79.d9e789bdc9.ll (mutant of half-convert.8268b6ca.21218c28.6abe3e79.ll) @fcvt_ui_h via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+c -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
define i16 @fcvt_ui_h(half %a) {
F:
%0 = fptoui half %a to i16
ret i16 %0
}
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+c -O1' --funcs fcvt_ui_h snippet.ll
Local execution result:
21 of 64 inputs differ (first: #1)
SelectionDAG hash 591594ef7dd87b7c, GlobalISel hash e80159fb23549387
b0: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+c -O1 -global-isel=0
b1: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+c -O0 -global-isel=0
b2: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+c -O1 -global-isel -global-isel-abort=2
Occurrences (3):
| Input | Function | Config |
|---|
| half-convert.8268b6ca.21218c28.6abe3e79.2405b7bd11.ll (mutant of half-convert.8268b6ca.21218c28.6abe3e79.ll) | fcvt_ui_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x -O1 |
| half-convert.8268b6ca.21218c28.6abe3e79.a9636032.a65943c60c.ll (mutant of half-convert.8268b6ca.21218c28.6abe3e79.a9636032.ll) | fcvt_ui_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+f,+zfa -O3 |
| half-convert.8268b6ca.21218c28.6abe3e79.d9e789bdc9.ll (mutant of half-convert.8268b6ca.21218c28.6abe3e79.ll) | fcvt_ui_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+c -O1 |
Generated 2026-11-29 14:49 UTC.