fallback: legalize: G_FPTOUI <N x i8>,<N x f64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_FPTOUI <N x i8>,<N x f64> M
Occurrences:6 in 6 configs, 2 test files, 55 more counted only
Snippet from:fixed-vectors-fp2i.982d79162f.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f64_v2i8 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @fp2ui_v2f64_v2i8(ptr %x, ptr %y) {
  %G = getelementptr i8, ptr %x, i1 true
  %a = load <2 x double>, ptr %G, align 16
  %d = fptoui <2 x double> %a to <2 x i8>
  store <2 x i8> %d, ptr %y, align 2
  ret void
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x i8>) = G_FPTOUI %4:_(<2 x f64>) (in function: fp2ui_v2f64_v2i8)
warning: Instruction selection used fallback path for fp2ui_v2f64_v2i8

Occurrences (6):

InputFunctionConfig
fixed-vectors-fp2i.2830012753.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f64_v8i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+f,+d,+zve32x -O3
fixed-vectors-fp2i.663e892717.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f64_v8i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d,+zve64d -O3
fixed-vectors-fp2i.982d79162f.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O3
fixed-vectors-fp2i.b8f4e7dd04.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v8f64_v8i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d,+zicsr -O1
fixed-vectors-fp2i.c5af0b30e4.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zcb -O2
fixed-vectors-fptoui-vp.abcaa03d03.ll (mutant of fixed-vectors-fptoui-vp.ll)vfptoui_v4i8_v4f64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.