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

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_FPTOUI <N x i8>,<N x f64> M
Occurrences:6 in 6 configs, 1 test files
Snippet from:fixed-vectors-fp2i.8387cfbf8c.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f64_v2i8 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global ptr

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
fixed-vectors-fp2i.8387cfbf8c.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-fp2i.9ed104f882.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs
fixed-vectors-fp2i.b1abcbba5c.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-fp2i.d2f50cd660.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs
fixed-vectors-fp2i.f22a2e0ed5.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs
fixed-vectors-fp2i.f865fd9029.ll (mutant of fixed-vectors-fp2i.ll)fp2ui_v2f64_v2i8-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.