fallback: legalize: G_FPTOUI <N x i64>,<N x bf16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_FPTOUI <N x i64>,<N x bf16> M
Occurrences:5 in 5 configs, 1 test files, 18 more counted only
Snippet from:fixed-vectors-fp2i.e92d8a1ff7.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2bf16_v2i64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2ui_v2bf16_v2i64(ptr %x, ptr %y) {
  %a = load <2 x bfloat>, ptr %x, align 4
  %G = getelementptr <2 x bfloat>, ptr %y, i16 1
  %d = fptoui <2 x bfloat> %a to <2 x i64>
  store <2 x i64> %d, ptr %G, align 16
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x i64>) = G_FPTOUI %2:_(<2 x bf16>) (in function: fp2ui_v2bf16_v2i64)
warning: Instruction selection used fallback path for fp2ui_v2bf16_v2i64

Occurrences (5):

InputFunctionConfig
fixed-vectors-fp2i.3c8c15dcad.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2bf16_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zve32x -O3
fixed-vectors-fp2i.6e598b3b46.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2bf16_v2i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zbkb -O1
fixed-vectors-fp2i.b095575aef.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2bf16_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+zvbb -O1
fixed-vectors-fp2i.e92d8a1ff7.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2bf16_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-fp2i.f7b3dfde6a.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2bf16_v2i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3

Generated 2026-11-29 14:49 UTC.