fallback: translate: alloca <vscale x N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: alloca <vscale x N x i32> M
Occurrences:3 in 2 configs, 2 test files, 9 more counted only
Snippet from:half-intrinsics.d5e7dd96d8.ll (mutant of half-intrinsics.ll) @powi_f16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @powi_f16(half %a, i32 %b) #0 {
  %A = alloca <vscale x 2 x i32>, align 8
  store <vscale x 2 x i32> poison, ptr %A, align 8
  %B = and <vscale x 2 x i32> splat (i32 2147483647), zeroinitializer
  %1 = call half @llvm.powi.f16.i32(half %a, i32 %b)
  store <vscale x 2 x i32> %B, ptr %A, align 8
  ret half %1
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare half @llvm.powi.f16.i32(half, i32) #1

attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: alloca: '  %A = alloca <vscale x 2 x i32>, align 8' (in function: powi_f16)
warning: Instruction selection used fallback path for powi_f16

Occurrences (3):

InputFunctionConfig
half-intrinsics.d5e7dd96d8.ll (mutant of half-intrinsics.ll)powi_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0
xandesvdot-vd4dots.1a471038fe.ll (mutant of xandesvdot-vd4dots.ll)intrinsic_vd4dots_vv_nxv1i32_nxv4i8_nxv4i8-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zve64x,+xandesvdot,+zfinx -O2 -code-model=small
xandesvdot-vd4dots.1a471038fe.ll (mutant of xandesvdot-vd4dots.ll)intrinsic_vd4dots_mask_vv_nxv4i32_nxv16i8_nxv16i8-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zve64x,+xandesvdot,+zfinx -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.