miscompile: miscompile rv64: lbu,vfirst.m,vle8.v,vmerge.vim,vmseq.vi,vmv.s.x
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | miscompile |
| Category: | miscompile rv64: lbu,vfirst.m,vle8.v,vmerge.vim,vmseq.vi,vmv.s.x NEW M |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | fixed-vectors-extract-i1.93a7fa6254.ll (mutant of fixed-vectors-extract-i1.ll) @extractelt_v1i1_idx0 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zbs,+d,+a -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
; Function Attrs: nounwind
define i1 @extractelt_v1i1_idx0(ptr %x) #0 {
%a = load <1 x i8>, ptr %x, align 1
%b = icmp eq <1 x i8> %a, zeroinitializer
%c = extractelement <1 x i1> %b, i64 0
%E = extractelement <1 x i1> %b, i1 %c
ret i1 %E
}
attributes #0 = { nounwind }
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zbs,+d,+a -O3' --funcs extractelt_v1i1_idx0 snippet.ll
Local execution result:
2 of 64 inputs differ (first: #0)
SelectionDAG hash 2fb004a7b7c4d96e, GlobalISel hash f8b9494ba981e5fb
b0: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zbs,+d,+a -O3 -global-isel=0
b1: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zbs,+d,+a -O0 -global-isel=0
b2: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zbs,+d,+a -O3 -global-isel -global-isel-abort=2
Occurrences (1):
| Input | Function | Config |
|---|
| fixed-vectors-extract-i1.93a7fa6254.ll (mutant of fixed-vectors-extract-i1.ll) | extractelt_v1i1_idx0 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zbs,+d,+a -O3 |
Generated 2026-11-29 14:49 UTC.