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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: alloca <vscale x N x i1> M
Occurrences:7 in 7 configs, 7 test files, 5 more counted only
Snippet from:vdot4a.e2f123fad5.ll (mutant of vdot4a.ll) @intrinsic_vdot4a_vx_nxv1i32_i32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zfinx -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define <vscale x 1 x i32> @intrinsic_vdot4a_vx_nxv1i32_i32(<vscale x 1 x i32> %0, <vscale x 1 x i32> %1, i32 %2, i64 %3) #0 {
entry:
  %A = alloca <vscale x 1 x i1>, align 1
  store <vscale x 1 x i1> poison, ptr %A, align 1
  %a = call <vscale x 1 x i32> @llvm.riscv.vdot4a.nxv1i32.i32.i64(<vscale x 1 x i32> %0, <vscale x 1 x i32> %1, i32 %2, i64 %3, i64 0)
  %C = icmp uge <vscale x 1 x i32> %a, zeroinitializer
  store <vscale x 1 x i1> %C, ptr %A, align 1
  ret <vscale x 1 x i32> %a
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 1 x i32> @llvm.riscv.vdot4a.nxv1i32.i32.i64(<vscale x 1 x i32>, <vscale x 1 x i32>, i32, i64, i64 immarg) #1

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

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zfinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zfinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (7):

InputFunctionConfig
vdot4a.e2f123fad5.ll (mutant of vdot4a.ll)intrinsic_vdot4a_vx_nxv1i32_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zfinx -O3
vdot4asu.7f21186376.ll (mutant of vdot4asu.ll)intrinsic_vdot4asu_mask_vx_nxv1i32_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zhinx -O3
vdot4au.bdf29e7f.582054aea4.ll (mutant of vdot4au.bdf29e7f.ll)intrinsic_vdot4au_vx_nxv16i32_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zdinx,+zbkb -O2
vdot4aus.8cf81eea07.ll (mutant of vdot4aus.ll)intrinsic_vdot4aus_vx_nxv16i32_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zdinx -O2
vsha2ch.f5562922.418ed54562.ll (mutant of vsha2ch.f5562922.ll)intrinsic_vsha2ch_vv_nxv4i64_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zvknhb,+zfinx -O1
vslide1up-constant-vl-rv32.4c55832b6f.ll (mutant of vslide1up-constant-vl-rv32.ll)intrinsic_vslide1up_vx_nxv1i64_nxv1i64_i64_vl1-mtriple=riscv32 -riscv-v-vector-bits-max=64 -verify-machineinstrs -mattr=+zve64x,+zvl64b,+a,+zfinx -O3
xandesvdot-vd4dotu.028363c265.ll (mutant of xandesvdot-vd4dotu.ll)intrinsic_vd4dotu_mask_vv_nxv2i64_nxv8i16_nxv8i16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zve64x,+xandesvdot,+zdinx -O2

Generated 2026-11-29 14:49 UTC.