miscompile: miscompile rv32: addi,and,andi,beqz,bnez,call
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | miscompile |
| Category: | miscompile rv32: addi,and,andi,beqz,bnez,call |
| Occurrences: | 3 in 3 configs, 1 test files |
| Snippet from: | float-isnan.fccc6d6b.459649c8.9e660f608c.ll (mutant of float-isnan.fccc6d6b.459649c8.ll) @float_not_nan via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
define zeroext i1 @float_not_nan(ptr %A) {
common.ret:
%L = load i1, ptr %A, align 1
ret i1 %L
}
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O3' --funcs float_not_nan snippet.ll
Local execution result:
62 of 64 inputs differ (first: #1)
SelectionDAG hash 935cf6666e2dee0e, GlobalISel hash ccbdc0f1543cc07f
b0: llc -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O3 -global-isel=0
b1: llc -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O0 -global-isel=0
b2: llc -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O3 -global-isel -global-isel-abort=2
Occurrences (3):
| Input | Function | Config |
|---|
| float-isnan.fccc6d6b.459649c8.9e660f608c.ll (mutant of float-isnan.fccc6d6b.459649c8.ll) | float_not_nan | -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O3 |
| float-isnan.fccc6d6b.459649c8.bf60728a91.ll (mutant of float-isnan.fccc6d6b.459649c8.ll) | float_not_nan | -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O2 |
| float-isnan.fccc6d6b.459649c8.ll | float_not_nan | -mtriple=riscv32 -target-abi ilp32f -verify-machineinstrs -mattr=+f,+zve64d,+zvbb -O1 |
Generated 2026-11-29 14:49 UTC.