miscompile: miscompile rv64: add,addi,and,andi,beqz,bnez

Run:explore-d9924131a4-20261128-105811
Kind:miscompile
Category:miscompile rv64: add,addi,and,andi,beqz,bnez M
Occurrences:2 in 2 configs, 2 test files
Snippet from:half-convert.8268b6ca.21218c28.6abe3e79.87371753ce.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,+zbb -O2
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,+zbb -O2' --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,+zbb -O2 -global-isel=0
b1: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+zbb -O0 -global-isel=0
b2: llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+zbb -O2 -global-isel -global-isel-abort=2

Occurrences (2):

InputFunctionConfig
fixed-vectors-vror.32cb11e9.8648ae65.2c3a9ee8.a73c72d5cf.ll (mutant of fixed-vectors-vror.32cb11e9.8648ae65.2c3a9ee8.ll)vror_vx_v1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zfhmin,+zbkb -O1
half-convert.8268b6ca.21218c28.6abe3e79.87371753ce.ll (mutant of half-convert.8268b6ca.21218c28.6abe3e79.ll)fcvt_ui_h-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zfhmin,+zicond,+zve32x,+zbb -O2

Generated 2026-11-29 14:49 UTC.