fallback: translate: alloca <N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: alloca <N x i16> M
Occurrences:9 in 9 configs, 7 test files, 17 more counted only
Snippet from:urem-vector-lkk.3637877060.ll (mutant of urem-vector-lkk.ll) @dont_fold_urem_one via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define <4 x i16> @dont_fold_urem_one(<4 x i16> %x) #0 {
  %A = alloca <4 x i16>, align 8
  store <4 x i16> poison, ptr %A, align 8
  %1 = urem <4 x i16> %x, <i16 1, i16 654, i16 23, i16 5423>
  store <4 x i16> %1, ptr %A, align 8
  ret <4 x i16> %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (9):

InputFunctionConfig
fixed-vectors-extload-truncstore.0e82719c2b.ll (mutant of fixed-vectors-extload-truncstore.ll)zextload_v16i16_v16i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 -code-model=medium
fixed-vectors-vshl-vp.1056e605f7.ll (mutant of fixed-vectors-vshl-vp.ll)vsll_vx_v4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2
rvp-narrowing-shift.ae0138d74c.ll (mutant of rvp-narrowing-shift.ll)pnsrl_v4i8_32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zhinx -O2 -code-model=small
rvp-reverse.eecb65e64c.ll (mutant of rvp-reverse.ll)test_prev_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O0 -code-model=medium
rvp-simd-32.46c4ae9fd7.ll (mutant of rvp-simd-32.ll)test_psra_s_i16x2_zero-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O1 -code-model=medium
rvp-simd-32.a2a5f68179.ll (mutant of rvp-simd-32.ll)test_eq_h-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O2
rvp-simd-64.1c56d80e.2f4fcc2dc6.ll (mutant of rvp-simd-64.1c56d80e.ll)test_pslide1down_v4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O3
urem-vector-lkk.3637877060.ll (mutant of urem-vector-lkk.ll)dont_fold_urem_one-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 -code-model=small
urem-vector-lkk.c60c2337c5.ll (mutant of urem-vector-lkk.ll)dont_fold_urem_i16_smax-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1

Generated 2026-11-29 14:49 UTC.