miscompile: miscompile rv64: add,andi,slli,srai,sub
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | miscompile |
| Category: | miscompile rv64: add,andi,slli,srai,sub |
| Occurrences: | 2 in 1 configs, 1 test files |
| Snippet from: | mem64.ll @load_sext_zext_anyext_i1 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv64 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
define i64 @load_sext_zext_anyext_i1(ptr %a) {
%1 = load i1, ptr %a, align 1
%2 = zext i1 %1 to i64
ret i64 %2
}
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv64 -verify-machineinstrs' --funcs load_sext_zext_anyext_i1 snippet.ll
Local execution result:
62 of 64 inputs differ (first: #1)
SelectionDAG hash c1b711f489039770, GlobalISel hash e80159fb23549387
b0: llc -mtriple=riscv64 -verify-machineinstrs -O2 -global-isel=0
b1: llc -mtriple=riscv64 -verify-machineinstrs -O0 -global-isel=0
b2: llc -mtriple=riscv64 -verify-machineinstrs -O2 -global-isel -global-isel-abort=2
Occurrences (2):
| Input | Function | Config |
|---|
| mem64.ll | load_sext_zext_anyext_i1 | -mtriple=riscv64 -verify-machineinstrs |
| mem64.ll | load_sext_zext_anyext_i1_i16 | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.