fallback: translate: getelementptr i1

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: getelementptr i1 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:double-imm.dc9db9aae0.ll (mutant of double-imm.ll) @double_positive_zero via llvm-extract
Config:-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global ptr

; Function Attrs: nounwind
define double @double_positive_zero(ptr %pd) #0 {
  %G = getelementptr i1, ptr %pd, i32 2147483647
  store ptr %G, ptr @G.2, align 8
  ret double 0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: getelementptr: '  %G = getelementptr i1, ptr %pd, i32 2147483647' (in function: double_positive_zero)
warning: Instruction selection used fallback path for double_positive_zero

Occurrences (2):

InputFunctionConfig
double-imm.dc9db9aae0.ll (mutant of double-imm.ll)double_positive_zero-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-imm.e6e8b63693.ll (mutant of double-imm.ll)double_positive_zero-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64

Generated 2026-11-29 14:49 UTC.