fallback: translate: alloca <N x half>

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

Snippet:

; Function Attrs: nounwind
define fastcc half @callee_half_32(<32 x half> %A) #0 {
  %A2 = alloca <32 x half>, align 64
  store <32 x half> poison, ptr %A2, align 64
  %B = extractelement <32 x half> %A, i32 0
  %B3 = fdiv <32 x half> %A, %A
  store <32 x half> %B3, ptr %A2, align 64
  ret half %B
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicsr -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicsr -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: callee_half_32)
warning: Instruction selection used fallback path for callee_half_32

Occurrences (4):

InputFunctionConfig
fastcc-without-f-reg.0c10c43459.ll (mutant of fastcc-without-f-reg.ll)callee_half_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicsr -O2
fp-fcanonicalize.0af8c98c29.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v4f16-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+xtheadba,+a -O3 -code-model=small
fp-fcanonicalize.15a81a15e2.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f16_nnan-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
fp-fcanonicalize.6d3fbe61fb.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v4f16_nnan-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0

Generated 2026-11-29 14:49 UTC.