miscompile: miscompile rv64: fmv.s,fmv.w.x,li
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | miscompile |
| Category: | miscompile rv64: fmv.s,fmv.w.x,li NEW M |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | fixed-vectors-vfneg-vp.bab67da38d.ll (mutant of fixed-vectors-vfneg-vp.ll) @vfneg_vv_v2bf16_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
@G.6 = external global bfloat
define <2 x bfloat> @vfneg_vv_v2bf16_unmasked(<2 x bfloat> %va, i32 zeroext %evl) {
%LGV = load bfloat, ptr @G.6, align 2
%v = fneg <2 x bfloat> %va
%I = insertelement <2 x bfloat> %v, bfloat %LGV, i64 -9223372036854775808
ret <2 x bfloat> %I
}
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1' --funcs vfneg_vv_v2bf16_unmasked snippet.ll
Local execution result:
64 of 64 inputs differ (first: #0)
SelectionDAG hash b3c7c319b32530ec, GlobalISel hash 4fce0178d0c573cc
b0: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1 -global-isel=0
b1: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 -global-isel=0
b2: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1 -global-isel -global-isel-abort=2
Occurrences (1):
| Input | Function | Config |
|---|
| fixed-vectors-vfneg-vp.bab67da38d.ll (mutant of fixed-vectors-vfneg-vp.ll) | vfneg_vv_v2bf16_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1 |
Generated 2026-11-29 14:49 UTC.