fallback: translate: getelementptr <N x i32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: getelementptr <N x i32> M |
| Occurrences: | 3 in 3 configs, 3 test files, 19 more counted only |
| Snippet from: | atomic-load-zext.aff59c91cb.ll (mutant of atomic-load-zext.ll) @atomic_load_i16_monotonic via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define zeroext i16 @atomic_load_i16_monotonic(ptr %a) #0 {
%G = getelementptr <4 x i32>, ptr %a, i8 -1
%1 = load atomic i16, ptr %G monotonic, align 2
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: getelementptr: ' %G = getelementptr <4 x i32>, ptr %a, i8 -1' (in function: atomic_load_i16_monotonic)
warning: Instruction selection used fallback path for atomic_load_i16_monotonic
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-zext.aff59c91cb.ll (mutant of atomic-load-zext.ll) | atomic_load_i16_monotonic | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 |
| half-imm.9cf385f46d.ll (mutant of half-imm.ll) | half_negative_zero | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+c,+zdinx -O3 |
| memset-inline.bc3c9e27b9.ll (mutant of memset-inline.ll) | aligned_memset_zero_16 | -mtriple=riscv64 -mattr=+zhinx -O0 -code-model=small -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.