fallback: translate: alloca i16

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: alloca i16 M
Occurrences:43 in 39 configs, 39 test files, 561 more counted only
Snippet from:rv64-float-convert.3fc04863c2.ll (mutant of rv64-float-convert.ll) @fptoui_f32_to_i128 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i16

; Function Attrs: nounwind
define i128 @fptoui_f32_to_i128(float %a) #0 {
  %A = alloca i16, align 2
  store i16 poison, ptr %A, align 2
  %LGV = load i16, ptr @G.3, align 2
  %1 = fptoui float %a to i128
  %B = srem i16 %LGV, -1
  store i16 %B, ptr %A, align 2
  ret i128 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (43) (first 15):

InputFunctionConfig
abdu.3201fabb3a.ll (mutant of abdu.ll)abd_minmax_i16-mtriple=riscv32 -mattr=+zhinx,+zbb -O1 -verify-machineinstrs
atomic-load-store.0657c513ed.ll (mutant of atomic-load-store.ll)atomic_load_i16_unordered-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+no-trailing-seq-cst-fence,+zhinx -O1 -code-model=medium
atomic-rmw.0e48afed8c.ll (mutant of atomic-rmw.ll)atomicrmw_xchg_i16_acquire-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+zacas,+zhinx -O0
bswap-bitreverse.83407fefb0.ll (mutant of bswap-bitreverse.ll)test_bitreverse_bswap_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3
clmul.2c409372ce.ll (mutant of clmul.ll)clmul_i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbc,+zfinx -O0
clmulh.1c54816dac.ll (mutant of clmulh.ll)clmulh_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0 -code-model=medium
combine-reduce-add-to-vcpop.0536698f4d.ll (mutant of combine-reduce-add-to-vcpop.ll)test_narrow_nxv64i1-mtriple=riscv64 -mattr=+zve32x,+zvl128b,+zbb,+zdinx -O3 -verify-machineinstrs
ctlz-cttz-ctpop.0d63989f6b.ll (mutant of ctlz-cttz-ctpop.ll)test_cttz_i16-mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zfinx -O2
ctlz-cttz-ctpop.0d63989f6b.ll (mutant of ctlz-cttz-ctpop.ll)test_ctpop_i16-mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zfinx -O2
ctlz-cttz-ctpop.32d50eae81.ll (mutant of ctlz-cttz-ctpop.ll)test_ctpop_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O3
double-convert.7ee833f5c0.ll (mutant of double-convert.ll)fcvt_wu_s_i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
fastcc-without-f-reg.d9032922b5.ll (mutant of fastcc-without-f-reg.ll)caller_float_32-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zihintpause -O1
fixed-vectors-reduction-mask-vp.e8623ab44d.ll (mutant of fixed-vectors-reduction-mask-vp.ll)vpreduce_smax_v16i1-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
fixed-vectors-vaaddu.6e69faed19.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_floor_splat_scalar-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0
fixed-vectors-vssubu.0a4510af09.ll (mutant of fixed-vectors-vssubu.ll)usub_v16i16_vv-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3

Generated 2026-11-29 14:49 UTC.