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

Run:explore-b577f07195-20261129-105236
Kind:miscompile
Category:miscompile rv64: add,addi,andi,beqz,bltu,bnez M
Occurrences:3 in 3 configs, 2 test files
Snippet from:fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.183ad18371.ll (mutant of fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.ll) @extractelt_v1i1 via llvm-extract + llvm-reduce
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d,+zvfh -O1 -code-model=small
Local check:reproduces at b577f07195
Compiler Explorer:not applicable: Compiler Explorer compiles RISC-V but cannot run it

Snippet:

define i1 @extractelt_v1i1() {
SW_C1:
  %c = extractelement <1 x i1> zeroinitializer, i64 1
  ret i1 %c
}

Reproduce:

./exec_oracle.py --flags '-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d,+zvfh -O1 -code-model=small' --funcs extractelt_v1i1 snippet.ll

Local execution result:

32 of 64 inputs differ (first: #1)
SelectionDAG hash 3f0814173d11af12, GlobalISel hash e80159fb23549387
b0: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d,+zvfh -code-model=small -O1 -global-isel=0
b1: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d,+zvfh -code-model=small -O0 -global-isel=0
b2: llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d,+zvfh -code-model=small -O1 -global-isel -global-isel-abort=2

Occurrences (3):

InputFunctionConfig
fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.0e004baa.17e008533a.ll (mutant of fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.0e004baa.ll)extractelt_v1i1-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zve64d,+zve32x,+c -O1
fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.0e004baa.41b0de725d.ll (mutant of fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.0e004baa.ll)extractelt_v1i1-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d -O1
fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.183ad18371.ll (mutant of fixed-vectors-extract-i1.7a96e8ee.dec3a406.4c1035f6.50cdd731.ll)extractelt_v1i1-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfa,+zfh,+zve64d,+zvfh -O1 -code-model=small

Generated 2026-11-29 14:49 UTC.