fallback: translate: alloca bfloat

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: alloca bfloat M
Occurrences:11 in 11 configs, 11 test files, 171 more counted only
Snippet from:half-fcmp.39f342d728.ll (mutant of half-fcmp.ll) @fcmp_ogt via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+zve32x,+zihintpause -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i32 @fcmp_ogt(half %a, half %b) #0 {
  %A = alloca bfloat, align 2
  store bfloat poison, ptr %A, align 2
  %B = fdiv bfloat 0.000000e+00, +inf
  %1 = fcmp ogt half %a, %b
  %2 = zext i1 %1 to i32
  store bfloat %B, ptr %A, align 2
  ret i32 %2
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+zve32x,+zihintpause -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+zve32x,+zihintpause -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: fcmp_ogt)
warning: Instruction selection used fallback path for fcmp_ogt

Occurrences (11):

InputFunctionConfig
abdu-neg.f3f413970b.ll (mutant of abdu-neg.ll)abd_ext_i8_undef-mtriple=riscv32 -mattr=+a,+zdinx -O3 -verify-machineinstrs
clmulr-rv64.e564cd15d9.ll (mutant of clmulr-rv64.ll)clmulr_i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zbc,+zhinx,+zve32x -O2
ctz_zero_return_test.306cc395de.ll (mutant of ctz_zero_return_test.ll)ctz1-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O2
double-intrinsics.3a20f70f2d.ll (mutant of double-intrinsics.ll)frexp_double-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+zba,+zcb -O0
fixed-vectors-int-buildvec.a055c5fa6f.ll (mutant of fixed-vectors-int-buildvec.ll)buildvec_seq_v4i16_v2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1
float-fcmp.98f16651b8.ll (mutant of float-fcmp.ll)fcmp_ord-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O3
fpenv-xlen.1d7a9eb6e4.ll (mutant of fpenv-xlen.ll)func_get_fpmode-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0
half-fcmp.39f342d728.ll (mutant of half-fcmp.ll)fcmp_ogt-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+zve32x,+zihintpause -O2
memcpy-inline.e6fe2badde.ll (mutant of memcpy-inline.ll)aligned_memcpy64-mtriple=riscv64 -mattr=+unaligned-scalar-mem,+unaligned-vector-mem,+zfinx -O3 -verify-machineinstrs
ucmp.139bc82df5.ll (mutant of ucmp.ll)ucmp.32.32-mtriple=riscv32 -mattr=+a,+zdinx -O1 -code-model=medium -verify-machineinstrs
zicond-fp-select-zfinx.a6eaf8c05b.ll (mutant of zicond-fp-select-zfinx.ll)select_f64_fcmp-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zvkb -O0 -code-model=small

Generated 2026-11-29 14:49 UTC.