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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_FPTOUI <N x i64>,<N x f32> M
Occurrences:9 in 9 configs, 2 test files, 30 more counted only
Snippet from:fixed-vectors-fp2i.a68557b018.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f32_v2i64 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_v2i64(ptr %x, ptr %y) {
  %a = load <2 x float>, ptr %x, align 8
  %d = fptoui <2 x float> %a to <2 x i64>
  %B = xor i16 -1, 0
  store <2 x i64> %d, ptr %y, align 16
  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: %3:_(<2 x i64>) = G_FPTOUI %2:_(<2 x f32>) (in function: fp2ui_v2f32_v2i64)
warning: Instruction selection used fallback path for fp2ui_v2f32_v2i64

Occurrences (9):

InputFunctionConfig
fixed-vectors-fp2i.08c76be337.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-fp2i.10dec529da.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zihintpause -O1
fixed-vectors-fp2i.1eb9ec7f33.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa,+m -O0
fixed-vectors-fp2i.31ce3d3203.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d -O0
fixed-vectors-fp2i.9e60e6742f.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1
fixed-vectors-fp2i.a68557b018.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-fp2i.e9c48065fe.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O0
fixed-vectors-fptoui-vp.c0c6b71d8c.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i64_v4f32_unmasked-mtriple=riscv32 -mattr=+m,+zvfhmin -O2 -verify-machineinstrs
fixed-vectors-fptoui-vp.ffd3a6c402.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i64_v4f32_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.