fallback: legalize: G_FPTOUI <N x i8>,<N x f64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_FPTOUI <N x i8>,<N x f64> M
Occurrences:4 in 4 configs, 2 test files, 39 more counted only
Snippet from:fixed-vectors-fp2i.08c76be337.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f64_v2i8 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2ui_v2f64_v2i8(ptr %x, ptr %y) {
  %a = load <2 x double>, ptr %x, align 16
  %B = fmul <2 x double> %a, %a
  %d = fptoui <2 x double> %B to <2 x i8>
  store <2 x i8> %d, ptr %y, align 2
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -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 -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x i8>) = G_FPTOUI %3:_(<2 x f64>) (in function: fp2ui_v2f64_v2i8)
warning: Instruction selection used fallback path for fp2ui_v2f64_v2i8

Occurrences (4):

InputFunctionConfig
fixed-vectors-fp2i.08c76be337.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-fp2i.8b3949011b.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f64_v8i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zfhmin -O2
fixed-vectors-fptoui-vp.d42b4d4e84.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i8_v4f64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh,+zcb -O3 -verify-machineinstrs
fixed-vectors-fptoui-vp.fedbf4fd5c.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i8_v4f64-mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.