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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_FPTOUI <N x i32>,<N x f32> M
Occurrences:13 in 11 configs, 2 test files, 70 more counted only
Snippet from:fixed-vectors-fp2i.ee7349e0a7.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f32_v2i32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zicsr -O3
Local check:reproduces at b577f07195
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>
  %G = getelementptr <2 x i32>, ptr %x, i128 0
  store <2 x i32> %d, ptr %G, align 8
  ret void
}

Reproduce:

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

Local llc output:

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

Occurrences (13):

InputFunctionConfig
fixed-vectors-fp2i.045d65bb0d.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O3
fixed-vectors-fp2i.19bfea056b.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+xtheadba -O3
fixed-vectors-fp2i.19bfea056b.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v3f32_v3i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d,+xtheadba -O3
fixed-vectors-fp2i.6005099642.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zicsr -O0 -code-model=medium
fixed-vectors-fp2i.a23c035418.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa -O3
fixed-vectors-fp2i.a23c035418.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v3f32_v3i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa -O3
fixed-vectors-fp2i.c6375b3867.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zvbb -O1
fixed-vectors-fp2i.ee7349e0a7.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zicsr -O3
fixed-vectors-fp2i.ee9136a1d1.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d -O1
fixed-vectors-fp2i.f1ed1b47ad.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O0
fixed-vectors-fp2i.f3e9b83ecc.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2
fixed-vectors-fp2i.fa002e48ca.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f -O0
fixed-vectors-fptoui-vp.6bce2d9fcd.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i32_v4f32_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O3 -code-model=small -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.