fallback: translate: getelementptr <N x i64>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: getelementptr <N x i64> M |
| Occurrences: | 3 in 3 configs, 2 test files, 37 more counted only |
| Snippet from: | attributes.dcfc1f052e.ll (mutant of attributes.ll) @atomic_load_i8_seq_cst via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zicclsm,+zhinx,+zcb -O0 -code-model=medium -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i8 @atomic_load_i8_seq_cst(ptr %a) #0 {
%G = getelementptr <2 x i64>, ptr %a, i128 1
%1 = load atomic i8, ptr %G seq_cst, align 1
ret i8 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zicclsm,+zhinx,+zcb -O0 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zicclsm,+zhinx,+zcb -O0 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: getelementptr: ' %G = getelementptr <2 x i64>, ptr %a, i128 1' (in function: atomic_load_i8_seq_cst)
warning: Instruction selection used fallback path for atomic_load_i8_seq_cst
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-zext.fb1a0adb52.ll (mutant of atomic-load-zext.ll) | atomic_load_i32_acquire | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zhinx -O3 -code-model=small |
| attributes.dcfc1f052e.ll (mutant of attributes.ll) | atomic_load_i8_seq_cst | -mtriple=riscv64 -mattr=+zicclsm,+zhinx,+zcb -O0 -code-model=medium -verify-machineinstrs |
| attributes.ee30685f67.ll (mutant of attributes.ll) | atomic_load_i8_seq_cst | -mtriple=riscv64 -mattr=+zve32x,+zhinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.