miscompile: miscompile rv32: addi,andi,beq,beqz,j,lbu

Run:explore-d9924131a4-20261128-105811
Kind:miscompile
Category:miscompile rv32: addi,andi,beq,beqz,j,lbu NEW M
Occurrences:2 in 2 configs, 1 test files
Snippet from:fixed-vectors-extract-i1.be91b851.fcd750bb.778b34e2.da915877a4.ll (mutant of fixed-vectors-extract-i1.be91b851.fcd750bb.778b34e2.ll) @extractelt_v1i1 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+a -O3 -code-model=small
Local check:reproduces at d9924131a4
Compiler Explorer:not applicable: Compiler Explorer compiles RISC-V but cannot run it

Snippet:

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

Reproduce:

./exec_oracle.py --flags '-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+a -O3 -code-model=small' --funcs extractelt_v1i1 snippet.ll

Local execution result:

32 of 64 inputs differ (first: #1)
SelectionDAG hash ac2a94b32b344940, GlobalISel hash ccbdc0f1543cc07f
b0: llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+a -code-model=small -O3 -global-isel=0
b1: llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+a -code-model=small -O0 -global-isel=0
b2: llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+a -code-model=small -O3 -global-isel -global-isel-abort=2

Occurrences (2):

InputFunctionConfig
fixed-vectors-extract-i1.be91b851.fcd750bb.778b34e2.2cdf4c54ef.ll (mutant of fixed-vectors-extract-i1.be91b851.fcd750bb.778b34e2.ll)extractelt_v1i1-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+zvbb -O3
fixed-vectors-extract-i1.be91b851.fcd750bb.778b34e2.da915877a4.ll (mutant of fixed-vectors-extract-i1.be91b851.fcd750bb.778b34e2.ll)extractelt_v1i1-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zbs,+zfh,+a -O3 -code-model=small

Generated 2026-11-29 14:49 UTC.