fallback: translate: alloca <N x half>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: alloca <N x half> M
Occurrences:4 in 4 configs, 1 test files, 7 more counted only
Snippet from:fp-fcanonicalize.eaed23f2f4.ll (mutant of fp-fcanonicalize.ll) @fcanonicalize_v4f16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x half> @fcanonicalize_v4f16(<4 x half> %x) {
  %A = alloca <4 x half>, align 8
  store <4 x half> poison, ptr %A, align 8
  %I = insertelement <4 x half> %x, half +inf, i32 1
  %z = call <4 x half> @llvm.canonicalize.v4f16(<4 x half> %x)
  store <4 x half> %I, ptr %A, align 8
  ret <4 x half> %z
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x half> @llvm.canonicalize.v4f16(<4 x half>) #0

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
fp-fcanonicalize.093993cf63.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v8f16-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O0
fp-fcanonicalize.1e7e6bde59.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v4f16-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zcb -O3
fp-fcanonicalize.3f5ddd3140.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f16-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
fp-fcanonicalize.eaed23f2f4.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1

Generated 2026-11-29 14:49 UTC.