fallback: translate: alloca <N x half>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: alloca <N x half> M
Occurrences:3 in 3 configs, 3 test files, 14 more counted only
Snippet from:fastcc-without-f-reg.f775e0ec75.ll (mutant of fastcc-without-f-reg.ll) @caller_half_32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global <32 x half>

; Function Attrs: nounwind
declare fastcc half @callee_half_32(<32 x half>) #0

; Function Attrs: nounwind
define half @caller_half_32(<32 x half> %A) #0 {
  %A2 = alloca <32 x half>, align 64
  store <32 x half> poison, ptr %A2, align 64
  %LGV = load <32 x half>, ptr @G.4, align 64
  %C = call fastcc half @callee_half_32(<32 x half> %A)
  %S = shufflevector <32 x half> %A, <32 x half> %LGV, <32 x i32> poison
  store <32 x half> %S, ptr %A2, align 64
  ret half %C
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: alloca: '  %A2 = alloca <32 x half>, align 64' (in function: caller_half_32)
warning: Instruction selection used fallback path for caller_half_32

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.f775e0ec75.ll (mutant of fastcc-without-f-reg.ll)caller_half_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
fp-fcanonicalize.97c07d5de4.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v4f16_nnan-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2
llvm.exp10.e2f3d9ac6a.ll (mutant of llvm.exp10.ll)exp10_v3f16-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+zhinx -O1

Generated 2026-11-29 14:49 UTC.