fallback: legalize: G_UITOFP <N x f64>,<N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_UITOFP <N x f64>,<N x i64> M
Occurrences:7 in 6 configs, 1 test files, 5 more counted only
Snippet from:fixed-vectors-uitofp-vp.c3fe26855b.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v32f64_v32i64_unmasked via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+zvfh -O1 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <32 x double> @vuitofp_v32f64_v32i64_unmasked(<32 x i64> %va, i32 zeroext %evl) {
  %A = alloca i128, align 8
  store i128 poison, ptr %A, align 4
  %v = uitofp <32 x i64> %va to <32 x double>
  %B = srem i128 1, 42
  store i128 %B, ptr %A, align 4
  ret <32 x double> %v
}

Reproduce:

llc -mtriple=riscv64 -mattr=+m,+zvfh -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zvfh -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %8:_(<32 x f64>) = G_UITOFP %0:_(<32 x i64>) (in function: vuitofp_v32f64_v32i64_unmasked)
warning: Instruction selection used fallback path for vuitofp_v32f64_v32i64_unmasked

Occurrences (7):

InputFunctionConfig
fixed-vectors-uitofp-vp.167b8b70f0.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zfa -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp.2c9a4ca7b7.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i64_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zvkb -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp.47b9d2b624.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64_unmasked-mtriple=riscv64 -mattr=+m -O0 -verify-machineinstrs
fixed-vectors-uitofp-vp.6f4ad4f016.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.c3fe26855b.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.e7ad619eb6.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f64_v4i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp.e7ad619eb6.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64-mtriple=riscv64 -mattr=+m,+zvfh -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.