fallback: translate: alloca half

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: alloca half
Occurrences:56 in 22 configs, 15 test files
Snippet from:half-mem.ll @flh_stack via llvm-extract
Config:-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

declare void @notdead(ptr)

; Function Attrs: nounwind
define half @flh_stack(half %a) #0 {
  %1 = alloca half, align 4
  call void @notdead(ptr %1)
  %2 = load half, ptr %1, align 2
  %3 = fadd half %2, %a
  ret half %3
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (56) (first 15):

InputFunctionConfig
half-mem.llflh_stack-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
half-mem.llflh_stack-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32
half-mem.llflh_stack-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64
half-mem.llflh_stack-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64
calllowering-zfinx-zhinx.4260a1fc2f.ll (mutant of calllowering-zfinx-zhinx.ll)callee_half-mtriple=riscv64 -mattr=+zhinx
calllowering-zfinx-zhinx.638405c493.ll (mutant of calllowering-zfinx-zhinx.ll)callee_half-mtriple=riscv32 -mattr=+zhinx
half-arith.0d6495d22c.ll (mutant of half-arith.ll)fmsub_h_contract-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64
half-arith.22a0d14314.ll (mutant of half-arith.ll)fmsub_h_contract-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32
half-arith.351bf0fcb9.ll (mutant of half-arith.ll)fmsub_h_contract-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
half-arith.5e490fc778.ll (mutant of half-arith.ll)fmsub_h_contract-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64
half-convert-strict.0f64313615.ll (mutant of half-convert-strict.ll)fcvt_wu_h-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
half-convert-strict.55892c722a.ll (mutant of half-convert-strict.ll)fcvt_wu_h-mtriple=riscv32 -mattr=+zdinx,+zhinxmin -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
half-convert-strict.6330b41c72.ll (mutant of half-convert-strict.ll)fcvt_wu_h-mtriple=riscv64 -mattr=+zdinx,+zhinx -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation
half-convert-strict.80894cac0c.ll (mutant of half-convert-strict.ll)fcvt_wu_h-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation
half-convert-strict.9b5a575cd8.ll (mutant of half-convert-strict.ll)fcvt_wu_h-mtriple=riscv32 -mattr=+zdinx,+zhinx -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation

Generated 2026-11-29 14:49 UTC.