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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_FPTOUI <N x i64>,<N x f32> M
Occurrences:8 in 8 configs, 2 test files, 46 more counted only
Snippet from:fixed-vectors-fp2i.a23c035418.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f32_v2i64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2ui_v2f32_v2i64(ptr %x, ptr %y) {
  %G = getelementptr ptr, ptr %x, i64 0
  %a = load <2 x float>, ptr %x, align 8
  %d = fptoui <2 x float> %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,+zvfh,+zvfbfmin,+f,+d,+zfa -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa -O3 -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 (8):

InputFunctionConfig
fixed-vectors-fp2i.0e5149e928.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zbb -O1
fixed-vectors-fp2i.6005099642.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zicsr -O0 -code-model=medium
fixed-vectors-fp2i.7692ec7b4a.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zve64d,+zfhmin -O1
fixed-vectors-fp2i.a23c035418.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zfa -O3
fixed-vectors-fp2i.ddabba1edc.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f32_v8i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+m -O3
fixed-vectors-fp2i.ee9136a1d1.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f32_v2i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+d -O1
fixed-vectors-fptoui-vp.4de66ade4a.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i64_v4f32_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O0 -verify-machineinstrs
fixed-vectors-fptoui-vp.abcaa03d03.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i64_v4f32-mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.