fallback: translate: getelementptr i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: getelementptr i1 M |
| Occurrences: | 3 in 3 configs, 3 test files, 26 more counted only |
| Snippet from: | atomic-load-store.7633754fdd.ll (mutant of atomic-load-store.ll) @atomic_load_i16_acquire via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zdinx -O0 -code-model=small |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i16 @atomic_load_i16_acquire(ptr %a) #0 {
%G = getelementptr i1, ptr %a, i64 1
%1 = load atomic i16, ptr %G acquire, align 2
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zdinx -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zdinx -O0 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: getelementptr: ' %G = getelementptr i1, ptr %a, i64 1' (in function: atomic_load_i16_acquire)
warning: Instruction selection used fallback path for atomic_load_i16_acquire
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-store.7633754fdd.ll (mutant of atomic-load-store.ll) | atomic_load_i16_acquire | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zdinx -O0 -code-model=small |
| float-imm.c7a6b6eb93.ll (mutant of float-imm.ll) | float_positive_zero | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O2 |
| half-imm.a676cb6265.ll (mutant of half-imm.ll) | half_negative_zero | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+m -O0 |
Generated 2026-11-29 14:49 UTC.