miscompile: miscompile rv64: add,addi,andi,beqz,bnez,fcvt.lu.s

Run:explore-b577f07195-20261129-105236
Kind:miscompile
Category:miscompile rv64: add,addi,andi,beqz,bnez,fcvt.lu.s NEW M
Occurrences:3 in 3 configs, 2 test files
Snippet from:rv64zfhmin-half-convert.c7c1c5c2.7de34199.f9cbf406.b6d0946b58.ll (mutant of rv64zfhmin-half-convert.c7c1c5c2.7de34199.f9cbf406.ll) @zext_fptoui via llvm-extract + llvm-reduce
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+f,+m,+a,+zcb -O2
Local check:reproduces at b577f07195
Compiler Explorer:not applicable: Compiler Explorer compiles RISC-V but cannot run it

Snippet:

define zeroext i32 @zext_fptoui() {
T:
  %0 = fptoui half +qnan to i32
  ret i32 %0
}

Reproduce:

./exec_oracle.py --flags '-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+f,+m,+a,+zcb -O2' --funcs zext_fptoui snippet.ll

Local execution result:

64 of 64 inputs differ (first: #0)
SelectionDAG hash d49d8e17f8dbcd7c, GlobalISel hash 3f40a3a472ef7fb4
b0: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+f,+m,+a,+zcb -O2 -global-isel=0
b1: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+f,+m,+a,+zcb -O0 -global-isel=0
b2: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+f,+m,+a,+zcb -O2 -global-isel -global-isel-abort=2

Occurrences (3):

InputFunctionConfig
float-convert.5336bd03.4390f218.461f8103.228d0353.1cdc64f0.f091b5b5.3457405759.ll (mutant of float-convert.5336bd03.4390f218.461f8103.228d0353.1cdc64f0.f091b5b5.ll)fcvt_wu_s_i16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+f,+zvkb,+zbs,+c,+zicsr,+d -O2
float-convert.5336bd03.4390f218.461f8103.228d0353.1cdc64f0.f091b5b5.9b8808d613.ll (mutant of float-convert.5336bd03.4390f218.461f8103.228d0353.1cdc64f0.f091b5b5.ll)fcvt_wu_s_i16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64f -mattr=+f,+zvkb,+zbs,+c,+zicsr,+d -O1
rv64zfhmin-half-convert.c7c1c5c2.7de34199.f9cbf406.b6d0946b58.ll (mutant of rv64zfhmin-half-convert.c7c1c5c2.7de34199.f9cbf406.ll)zext_fptoui-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+f,+m,+a,+zcb -O2

Generated 2026-11-29 14:49 UTC.