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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: alloca <vscale x N x i1> M
Occurrences:6 in 6 configs, 5 test files, 19 more counted only
Snippet from:float-maximum-minimum.a715c1f827.ll (mutant of float-maximum-minimum.ll) @fmaximum_f32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zve32x -O1 -code-model=small
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define float @fmaximum_f32(float %a, float %b) #0 {
  %A = alloca <vscale x 2 x i1>, align 1
  store <vscale x 2 x i1> poison, ptr %A, align 1
  %C = icmp ult <vscale x 2 x i32> splat (i32 42), splat (i32 65536)
  %1 = call float @llvm.maximum.f32(float %a, float %b)
  store <vscale x 2 x i1> %C, ptr %A, align 1
  ret float %1
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.maximum.f32(float, float) #1

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

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zve32x -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zve32x -O1 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
commutable-zvdot4a8i.cd7a362102.ll (mutant of commutable-zvdot4a8i.ll)commutable_vdot4au_vv_masked-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zdinx -O3
cttz-sdnode.f7d505e21a.ll (mutant of cttz-sdnode.ll)cttz_zero_poison_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zve64x,+zhinx -O2 -code-model=small
float-maximum-minimum.a715c1f827.ll (mutant of float-maximum-minimum.ll)fmaximum_f32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zve32x -O1 -code-model=small
sf_vqmaccus_2x8x2.d0727eb2.d6009261.0b65941413.ll (mutant of sf_vqmaccus_2x8x2.d0727eb2.d6009261.ll)intrinsic_vqmaccus_2x8x2_ta_i32m8-mtriple=riscv64 -verify-machineinstrs -mattr=+xsfvqmaccdod,+zfinx,+zvkb -O0
sf_vqmaccus_2x8x2.d0727eb2.d6009261.979ba2fbbd.ll (mutant of sf_vqmaccus_2x8x2.d0727eb2.d6009261.ll)intrinsic_vqmaccus_2x8x2_ta_i32m8-mtriple=riscv64 -verify-machineinstrs -mattr=+xsfvqmaccdod,+zfinx,+zvkb,+xtheadba,+zve32x -O3 -code-model=small
xandesvdot-vd4dotsu.e206266eea.ll (mutant of xandesvdot-vd4dotsu.ll)intrinsic_vd4dotsu_vv_nxv16i32_nxv64i8_nxv64i8-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zve64x,+xandesvdot,+zicsr,+zhinx -O3

Generated 2026-11-29 14:49 UTC.