miscompile: miscompile rv64: addi,call,ld,li,sd,slli
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | miscompile |
| Category: | miscompile rv64: addi,call,ld,li,sd,slli |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | pr139075.ll @a via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv64 -mattr=+v,+zvl16384b |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not applicable: Compiler Explorer compiles RISC-V but cannot run it |
Snippet:
define void @a(ptr %0, ptr %1) {
call void @llvm.memcpy.p0.p0.i64(ptr %0, ptr %1, i64 2048, i1 false)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
Reproduce:
./exec_oracle.py --flags '-mtriple=riscv64 -mattr=+v,+zvl16384b' --funcs a snippet.ll
Local execution result:
64 of 64 inputs differ (first: #0)
SelectionDAG hash 62d8234100daf4f9, GlobalISel hash a55f10c52aec5e13
b0: llc -mtriple=riscv64 -mattr=+v,+zvl16384b -O2 -global-isel=0
b1: llc -mtriple=riscv64 -mattr=+v,+zvl16384b -O0 -global-isel=0
b2: llc -mtriple=riscv64 -mattr=+v,+zvl16384b -O2 -global-isel -global-isel-abort=2
Occurrences (1):
| Input | Function | Config |
|---|
| pr139075.ll | a | -mtriple=riscv64 -mattr=+v,+zvl16384b |
Generated 2026-11-29 14:49 UTC.