fallback: translate: getelementptr i128
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: getelementptr i128 M |
| Occurrences: | 3 in 3 configs, 3 test files, 27 more counted only |
| Snippet from: | atomicrmw-add-sub.eb32b2343a.ll (mutant of atomicrmw-add-sub.ll) @atomicrmw_sub_i64_constant via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+a,+zfinx -O2 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @atomicrmw_sub_i64_constant(ptr %a) #0 {
%G = getelementptr i128, ptr %a, i16 256
%1 = atomicrmw sub ptr %G, i64 1 seq_cst, align 8
ret i64 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+a,+zfinx -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+a,+zfinx -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: getelementptr: ' %G = getelementptr i128, ptr %a, i16 256' (in function: atomicrmw_sub_i64_constant)
warning: Instruction selection used fallback path for atomicrmw_sub_i64_constant
Occurrences (3):
| Input | Function | Config |
|---|
| atomicrmw-add-sub.eb32b2343a.ll (mutant of atomicrmw-add-sub.ll) | atomicrmw_sub_i64_constant | -mtriple=riscv64 -mattr=+a,+zfinx -O2 -verify-machineinstrs |
| atomicrmw-max-min-umax-umin.39eb3ccb65.ll (mutant of atomicrmw-max-min-umax-umin.ll) | atomicrmw_max_i16_release | -mtriple=riscv32 -mattr=+a,+zhinx -O3 -verify-machineinstrs |
| kcfi-patchable-function-prefix.bfb994d15d.ll (mutant of kcfi-patchable-function-prefix.ll) | f4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=medium |
Generated 2026-11-29 14:49 UTC.