fallback: translate: getelementptr i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: getelementptr i1 M |
| Occurrences: | 3 in 3 configs, 2 test files, 31 more counted only |
| Snippet from: | attributes.b4d28f156c.ll (mutant of attributes.ll) @atomic_load_i8_seq_cst via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| 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 i1, ptr %a, i8 -1
%1 = load atomic i8, ptr %G seq_cst, align 1
ret i8 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: getelementptr: ' %G = getelementptr i1, ptr %a, i8 -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 |
|---|
| attributes.2f6d1b59b2.ll (mutant of attributes.ll) | atomic_load_i8_seq_cst | -mtriple=riscv32 -mattr=+zihintpause,+zdinx,+zve32x -O1 -verify-machineinstrs |
| attributes.b4d28f156c.ll (mutant of attributes.ll) | atomic_load_i8_seq_cst | -mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs |
| zfhmin-imm.9d2cdee896.ll (mutant of zfhmin-imm.ll) | f16_negative_zero | -mtriple=riscv64 -target-abi lp64 -mattr=+zdinx,+zfinx -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.