fallback: translate: getelementptr <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: getelementptr <N x i32> M
Occurrences:5 in 4 configs, 4 test files, 36 more counted only
Snippet from:constantpool.a535b60ae2.ll (mutant of constantpool.ll) @constpool_f32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @constpool_f32(ptr %p) {
  %G = getelementptr <4 x i32>, ptr %p, i32 42
  store float 1.000000e+00, ptr %p, align 4
  store ptr %G, ptr poison, align 8
  %G1 = getelementptr i128, ptr %p, i8 0
  store ptr %G1, ptr poison, align 8
  ret void
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: getelementptr: '  %G = getelementptr <4 x i32>, ptr %p, i32 42' (in function: constpool_f32)
warning: Instruction selection used fallback path for constpool_f32

Occurrences (5):

InputFunctionConfig
atomic-cmpxchg.c982320695.ll (mutant of atomic-cmpxchg.ll)cmpxchg_i32_seq_cst_monotonic-mtriple=riscv32 -mattr=+a,+ztso,+zacas,+zdinx,+zicond -O1 -verify-machineinstrs
atomic-load-zext.bea9af359d.ll (mutant of atomic-load-zext.ll)atomic_load_i1_acquire-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zbb,+zhinx -O0 -code-model=small
atomic-load-zext.bea9af359d.ll (mutant of atomic-load-zext.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zbb,+zhinx -O0 -code-model=small
constantpool.a535b60ae2.ll (mutant of constantpool.ll)constpool_f32-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
fold-mem-offset.ccce1ecfa9.ll (mutant of fold-mem-offset.ll)test_add_uw-mtriple=riscv64 -mattr=+zfinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.