miscompile: miscompile rv32: fcvt.wu.d,lh,lui,slli,srli,xor

Run:explore-db12fc36f6-20261127-115111
Kind:miscompile
Category:miscompile rv32: fcvt.wu.d,lh,lui,slli,srli,xor NEW M
Occurrences:1 in 1 configs, 1 test files
Snippet from:double-convert.ce63edcd.d267e6958d.ll (mutant of double-convert.ce63edcd.ll) @fcvt_wu_s_i16 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zba,+v -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not applicable: Compiler Explorer compiles RISC-V but cannot run it

Snippet:

define zeroext i16 @fcvt_wu_s_i16() {
  %1 = fptoui double +qnan to i16
  ret i16 %1
}

Reproduce:

./exec_oracle.py --flags '-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zba,+v -O3' --funcs fcvt_wu_s_i16 snippet.ll

Local execution result:

64 of 64 inputs differ (first: #0)
SelectionDAG hash ae0ac47bf9cec900, GlobalISel hash 0f10fc29d034ffd3
b0: llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zba,+v -O3 -global-isel=0
b1: llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zba,+v -O0 -global-isel=0
b2: llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zba,+v -O3 -global-isel -global-isel-abort=2

Occurrences (1):

InputFunctionConfig
double-convert.ce63edcd.d267e6958d.ll (mutant of double-convert.ce63edcd.ll)fcvt_wu_s_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zba,+v -O3

Generated 2026-11-29 14:49 UTC.