fallback: legalize: G_SITOFP <N x bf16>,<N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_SITOFP <N x bf16>,<N x i8> M
Occurrences:7 in 5 configs, 1 test files, 46 more counted only
Snippet from:fixed-vectors-i2fp.4bd9b27f2e.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v2i8_v2bf16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+c -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global bfloat

define void @si2fp_v2i8_v2bf16(ptr %x, ptr %y) {
  %a = load <2 x i8>, ptr %x, align 2
  %B = fmul bfloat +qnan, 9.183550e-41
  %d = sitofp <2 x i8> %a to <2 x bfloat>
  store <2 x bfloat> %d, ptr %y, align 4
  store bfloat %B, ptr @G, align 2
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+c -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+c -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(<2 x bf16>) = G_SITOFP %2:_(<2 x i8>) (in function: si2fp_v2i8_v2bf16)
warning: Instruction selection used fallback path for si2fp_v2i8_v2bf16

Occurrences (7):

InputFunctionConfig
fixed-vectors-i2fp.4bd9b27f2e.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i8_v2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+c -O3
fixed-vectors-i2fp.4ce417ca9b.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.4ce417ca9b.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i8_v8bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.83a2f1e81e.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-i2fp.b1bd0a69f7.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i8_v8bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O1
fixed-vectors-i2fp.e1550ba8dc.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v8i8_v8bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small
fixed-vectors-i2fp.ed31ea2d0f.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v4i8_v4bf16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfbfmin,+f,+d,+zfhmin -O0

Generated 2026-11-29 14:49 UTC.