fallback: legalize: G_FPTOUI <N x i16>,<N x f16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_FPTOUI <N x i16>,<N x f16> M
Occurrences:8 in 6 configs, 2 test files, 27 more counted only
Snippet from:fixed-vectors-fp2i.87a4a2cddc.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v64f16_v64i16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zbb,+c -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2ui_v64f16_v64i16(ptr %x, ptr %y) {
  %G = getelementptr i32, ptr %y, i16 -1
  %a = load <64 x half>, ptr %G, align 128
  %d = fptoui <64 x half> %a to <64 x i16>
  store <64 x i16> %d, ptr %y, align 128
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<64 x i16>) = G_FPTOUI %4:_(<64 x f16>) (in function: fp2ui_v64f16_v64i16)
warning: Instruction selection used fallback path for fp2ui_v64f16_v64i16

Occurrences (8):

InputFunctionConfig
fixed-vectors-fp2i.0a371059e9.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v64f16_v64i16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+zicond -O2
fixed-vectors-fp2i.749ee5984e.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v64f16_v64i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3
fixed-vectors-fp2i.87a4a2cddc.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v64f16_v64i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zbb,+c -O3
fixed-vectors-fp2i.efe1a477f1.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v64f16_v64i16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+xtheadba -O2
fixed-vectors-fp2i.f7b3dfde6a.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v64f16_v64i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3
fixed-vectors-fptoui-vp.41d7a8d255.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i16_v4f16-mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs
fixed-vectors-fptoui-vp.aa90df70c6.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i16_v4f16_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs
fixed-vectors-fptoui-vp.f385898508.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i16_v4f16_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin,+zbkb -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.