fallback: translate: load <N x i32>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: load <N x i32> M
Occurrences:88 in 52 configs, 36 test files
Snippet from:reserved-reg-errors-alias.0db7aa3727.ll (mutant of reserved-reg-errors-alias.ll) @cf via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64
Local check:reproduces at d9924131a4
Compiler Explorer:https://godbolt.org/z/T9aeKWdMr (llc-assertions-trunk, checked 2026-11-11 10:15 UTC): G reproduces

Snippet:

@G = external global <4 x i32>

declare float @gf(float)

define float @cf(float %a) {
  %LGV = load <4 x i32>, ptr @G, align 16
  %B = shl <4 x i32> %LGV, splat (i32 65536)
  %r = call float @gf(float %a)
  store <4 x i32> %B, ptr poison, align 16
  ret float %r
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*06remark: <unknown>:0:0: unable to translate instruction: load: ' %LGV = load <4 x i32>, ptr @G, align 16' (in function: cf)
warning: Instruction selection used fallback path for cf
SelectionDAG (control)-mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel=006-

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx,+zfinx,+zdinx,+reserve-x11 -target-abi=lp64 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: load: '  %LGV = load <4 x i32>, ptr @G, align 16' (in function: cf)
warning: Instruction selection used fallback path for cf

Occurrences (88) (first 15):

InputFunctionConfig
calllowering-zfinx-zhinx.4260a1fc2f.ll (mutant of calllowering-zfinx-zhinx.ll)callee_fastcc_float-mtriple=riscv64 -mattr=+zhinx
calllowering-zfinx-zhinx.638405c493.ll (mutant of calllowering-zfinx-zhinx.ll)callee_fastcc_float-mtriple=riscv32 -mattr=+zhinx
codemodel-lowering.3fb097eb87.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.5d5ca2769e.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.5ddf952ae7.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.ad95e74d02.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs
codemodel-lowering.c34eac5a8b.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.caaacb62e2.ll (mutant of codemodel-lowering.ll)lower_constantpool-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
double-arith.dcdfbe52a9.ll (mutant of double-arith.ll)fmul_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-arith.fb408dd7fd.ll (mutant of double-arith.ll)fmul_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-bitmanip-dagcombines.9d0435d875.ll (mutant of double-bitmanip-dagcombines.ll)fabs-mtriple=riscv32 -target-abi=ilp32 -mattr=+zdinx -verify-machineinstrs
double-bitmanip-dagcombines.f078127d2e.ll (mutant of double-bitmanip-dagcombines.ll)fabs-mtriple=riscv64 -target-abi=lp64 -mattr=+zdinx -verify-machineinstrs
double-calling-conv.0e7111ea4d.ll (mutant of double-calling-conv.ll)caller_double_split_reg_stack-mtriple=riscv32 -mattr=+zdinx -target-abi=ilp32 -verify-machineinstrs
double-convert.34a77164b0.ll (mutant of double-convert.ll)fcvt_d_w-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-convert.653b3c5961.ll (mutant of double-convert.ll)fcvt_lu_d_sat-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64

Generated 2026-11-29 14:49 UTC.