fallback: translate: alloca bfloat

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: alloca bfloat M
Occurrences:6 in 6 configs, 6 test files, 114 more counted only
Snippet from:rv32zba.0f63d53bd3.ll (mutant of rv32zba.ll) @mul25 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global bfloat

define i32 @mul25(i32 %a) {
  %A = alloca bfloat, align 2
  store bfloat poison, ptr %A, align 2
  %LGV = load bfloat, ptr @G, align 2
  %B = fsub bfloat +qnan, %LGV
  %c = mul i32 %a, 25
  store bfloat %B, ptr %A, align 2
  ret i32 %c
}

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
atomicrmw-max-min-umax-umin.39eb3ccb65.ll (mutant of atomicrmw-max-min-umax-umin.ll)atomicrmw_umin_i16_acq_rel-mtriple=riscv32 -mattr=+a,+zhinx -O3 -verify-machineinstrs
float-maximum-minimum.793cb148c1.ll (mutant of float-maximum-minimum.ll)fmaximum_nnan_f32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinx -O1
half-round-conv-sat.36936bfe0f.ll (mutant of half-round-conv-sat.ll)test_ceil_si64-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx,+m -O1
rv32zba.0f63d53bd3.ll (mutant of rv32zba.ll)mul25-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O2
rv64-half-convert.d913138dd7.ll (mutant of rv64-half-convert.ll)fptosi_f16_to_i128-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2 -code-model=small
xcvbitmanip.9937f77948.ll (mutant of xcvbitmanip.ll)test.cv.insert-mtriple=riscv32 -verify-machineinstrs -mattr=+xcvbitmanip,+zdinx -O0

Generated 2026-11-29 14:49 UTC.