miscompile: miscompile rv64: add,addi,and,fadd.s,fcvt.l.s,fcvt.wu.s
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | miscompile |
| Category: | miscompile rv64: add,addi,and,fadd.s,fcvt.l.s,fcvt.wu.s M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | float-convert.5336bd03.4390f218.60ff9ca0.d6d6e1e1.bada506d.d1499f0e.81a0f911.ca90415260.ll (mutant of float-convert.5336bd03.4390f218.60ff9ca0.d6d6e1e1.bada506d.d1499f0e.81a0f911.ll) @fcvt_wu_s_i16 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+zvbb -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
define i16 @fcvt_wu_s_i16(float %a) {
%1 = fptoui float %a to i16
ret i16 %1
}
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+zvbb -O1' --funcs fcvt_wu_s_i16 snippet.ll
Local execution result:
24 of 64 inputs differ (first: #1)
SelectionDAG hash 591594ef7dd87b7c, GlobalISel hash e80159fb23549387
b0: llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+zvbb -O1 -global-isel=0
b1: llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+zvbb -O0 -global-isel=0
b2: llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+zvbb -O1 -global-isel -global-isel-abort=2
Occurrences (2):
| Input | Function | Config |
|---|
| float-convert.5336bd03.4390f218.60ff9ca0.d6d6e1e1.bada506d.d1499f0e.81a0f911.3ee524163a.ll (mutant of float-convert.5336bd03.4390f218.60ff9ca0.d6d6e1e1.bada506d.d1499f0e.81a0f911.ll) | fcvt_wu_s_i16 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+m -O1 |
| float-convert.5336bd03.4390f218.60ff9ca0.d6d6e1e1.bada506d.d1499f0e.81a0f911.ca90415260.ll (mutant of float-convert.5336bd03.4390f218.60ff9ca0.d6d6e1e1.bada506d.d1499f0e.81a0f911.ll) | fcvt_wu_s_i16 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+zvkb,+zvfh,+a,+zbs,+zvbb -O1 |
Generated 2026-11-29 14:49 UTC.