fallback: translate: getelementptr <N x i8>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: getelementptr <N x i8> M |
| Occurrences: | 3 in 3 configs, 2 test files, 12 more counted only |
| Snippet from: | atomic-load-store.7bb61e7e61.ll (mutant of atomic-load-store.ll) @atomic_load_i32_acquire via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zdinx,+zbkb -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i32 @atomic_load_i32_acquire(ptr %a) #0 {
%G = getelementptr <8 x i8>, ptr %a, i32 -1
%1 = load atomic i32, ptr %a acquire, align 4
store ptr %G, ptr poison, align 8
ret i32 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zdinx,+zbkb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zdinx,+zbkb -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: getelementptr: ' %G = getelementptr <8 x i8>, ptr %a, i32 -1' (in function: atomic_load_i32_acquire)
warning: Instruction selection used fallback path for atomic_load_i32_acquire
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-store.76443dbf46.ll (mutant of atomic-load-store.ll) | atomic_load_i64_acquire | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2 |
| atomic-load-store.7bb61e7e61.ll (mutant of atomic-load-store.ll) | atomic_load_i32_acquire | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zdinx,+zbkb -O1 |
| atomicrmw-add-sub.71cee30057.ll (mutant of atomicrmw-add-sub.ll) | atomicrmw_sub_i8_constant | -mtriple=riscv64 -mattr=+a,+zhinx -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.