fallback: translate: getelementptr <N x i32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: getelementptr <N x i32> M |
| Occurrences: | 3 in 3 configs, 3 test files, 17 more counted only |
| Snippet from: | mem64.e980c62266.ll (mutant of mem64.ll) @lw_far_local via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i64 @lw_far_local(ptr %a) {
%G = getelementptr <4 x i32>, ptr %a, i128 -1
%1 = getelementptr inbounds i64, ptr %a, i64 4095
%2 = load volatile i64, ptr %1, align 4
store ptr %G, ptr %1, align 8
ret i64 %2
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small -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, i128 -1' (in function: lw_far_local)
warning: Instruction selection used fallback path for lw_far_local
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-rmw.0c6191682d.ll (mutant of atomic-rmw.ll) | atomicrmw_sub_i32_seq_cst | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+ztso,+zdinx -O2 |
| attributes.fa8928bdc6.ll (mutant of attributes.ll) | atomic_load_i8_seq_cst | -mtriple=riscv64 -mattr=+ssstrict,+zihintpause,+zfinx -O0 -verify-machineinstrs |
| mem64.e980c62266.ll (mutant of mem64.ll) | lw_far_local | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=small |
Generated 2026-11-29 14:49 UTC.