fallback: legalize: G_FPTOUI <N x i32>,<N x f32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_FPTOUI <N x i32>,<N x f32> M
Occurrences:9 in 9 configs, 2 test files, 58 more counted only
Snippet from:fixed-vectors-fp2i.a68557b018.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f32_v2i32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2ui_v2f32_v2i32(ptr %x, ptr %y) {
  %a = load <2 x float>, ptr %x, align 8
  %d = fptoui <2 x float> %a to <2 x i32>
  %B = and i16 32767, 32767
  store <2 x i32> %d, ptr %y, align 8
  store i16 %B, ptr poison, align 2
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -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 i32>) = G_FPTOUI %4:_(<2 x f32>) (in function: fp2ui_v2f32_v2i32)
warning: Instruction selection used fallback path for fp2ui_v2f32_v2i32

Occurrences (9):

InputFunctionConfig
fixed-vectors-fp2i.048a9ccb52.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v3f32_v3i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2
fixed-vectors-fp2i.1eb9ec7f33.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa,+m -O0
fixed-vectors-fp2i.3c8b18184f.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O1
fixed-vectors-fp2i.788789af4d.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+a,+xtheadba -O3 -code-model=medium
fixed-vectors-fp2i.a68557b018.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-fp2i.f46e27bd13.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v3f32_v3i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O0
fixed-vectors-fp2i.f82d06c550.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zcb -O2
fixed-vectors-fp2i.f890f52116.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O3
fixed-vectors-fptoui-vp.d704090ddc.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i32_v4f32-mtriple=riscv32 -mattr=+m,+zvfh,+zba -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.