fallback: translate: alloca <N x float>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: alloca <N x float> M
Occurrences:13 in 13 configs, 13 test files, 148 more counted only
Snippet from:xqcisls.e6def559df.ll (mutant of xqcisls.ll) @lrbu via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <4 x float>

define i32 @lrbu(ptr %a, i32 %b) {
  %A = alloca <4 x float>, align 16
  store <4 x float> poison, ptr %A, align 16
  %LGV = load <4 x float>, ptr @G.2, align 16
  %1 = getelementptr i8, ptr %a, i32 %b
  %L = load <4 x float>, ptr %1, align 16
  %B = frem <4 x float> %L, %LGV
  %2 = load i8, ptr %1, align 1
  %3 = zext i8 %2 to i32
  %4 = add i32 %3, %3
  store <4 x float> %B, ptr %A, align 16
  ret i32 %4
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: alloca: '  %A = alloca <4 x float>, align 16' (in function: lrbu)
warning: Instruction selection used fallback path for lrbu

Occurrences (13):

InputFunctionConfig
atomic-signext.3f4096d910.ll (mutant of atomic-signext.ll)atomicrmw_xchg_i16_monotonic-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+c,+zhinx -O1
callee-saved-gprs.17dbcfad6b.ll (mutant of callee-saved-gprs.ll)callee-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all -mattr=+zdinx -O3
clmul.8922cb2865.ll (mutant of clmul.ll)clmul_constfold_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O0
ctlz-cttz-ctpop.f4b41a7b28.ll (mutant of ctlz-cttz-ctpop.ll)test_ctlz_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zvkb -O1
double-intrinsics.4e29d7f316.ll (mutant of double-intrinsics.ll)lround_i32_f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zihintpause -O0
float-select-fcmp.fae22132e3.ll (mutant of float-select-fcmp.ll)CascadedSelect-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx,+zbb -O3
inline-asm-zhinx-constraint-r.7eb65742e4.ll (mutant of inline-asm-zhinx-constraint-r.ll)constraint_cf_half-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zhinx,+m -O3 -code-model=small
jumptable.5c7131b68f.ll (mutant of jumptable.ll)above_threshold-mtriple=riscv64 -relocation-model=pic -verify-machineinstrs -mattr=+zbb,+zhinx -O0
neg-abs.33eb4c5edb.ll (mutant of neg-abs.ll)expanded_neg_abs64-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0 -code-model=medium
shifts.3d77260b23.ll (mutant of shifts.ll)shl128-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3 -code-model=small
signed-truncation-check.63747593eb.ll (mutant of signed-truncation-check.ll)add_ugecmp_i64_i32-mtriple=riscv64-unknown-linux-gnu -mattr=+zbb,+zvkb,+zdinx -O0 -verify-machineinstrs
urem-seteq-illegal-types.805f3b6ab4.ll (mutant of urem-seteq-illegal-types.ll)test_urem_even-mtriple=riscv64 -mattr=+zicsr,+zfinx -O0 -verify-machineinstrs
xqcisls.e6def559df.ll (mutant of xqcisls.ll)lrbu-mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.