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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_UITOFP <N x f64>,<N x i64> M
Occurrences:5 in 5 configs, 1 test files
Snippet from:fixed-vectors-uitofp-vp.c8a4e6ec22.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v32f64_v32i64 via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+zvfh,+d -O2 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32
@G.1 = external global i32

define <32 x double> @vuitofp_v32f64_v32i64(<32 x i64> %va, <32 x i1> %m, i32 zeroext %evl) {
  %LGV = load i32, ptr @G, align 4
  %B = and i32 %LGV, 0
  %v = uitofp <32 x i64> %va to <32 x double>
  store i32 %B, ptr @G.1, align 4
  ret <32 x double> %v
}

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-uitofp-vp.194c89eda0.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64-mtriple=riscv32 -mattr=+m,+zvfhmin -O0 -verify-machineinstrs
fixed-vectors-uitofp-vp.563b6fff7a.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zicsr -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.c8a4e6ec22.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64-mtriple=riscv64 -mattr=+m,+zvfh,+d -O2 -verify-machineinstrs
fixed-vectors-uitofp-vp.d3c6f1d1dc.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64-mtriple=riscv32 -mattr=+zvfh -O3 -verify-machineinstrs
fixed-vectors-uitofp-vp.e6ec4d75aa.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v32f64_v32i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin,+zbkb -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.