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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:legalize: G_UITOFP <N x f16>,<N x i16> M
Occurrences:7 in 7 configs, 2 test files, 27 more counted only
Snippet from:fixed-vectors-uitofp-vp.2efb88511c.ll (mutant of fixed-vectors-uitofp-vp.ll) @vuitofp_v4f16_v4i16_unmasked via llvm-extract
Config:-mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i1

define <4 x half> @vuitofp_v4f16_v4i16_unmasked(<4 x i16> %va, i32 zeroext %evl) {
  %C = icmp ne i1 false, false
  %v = uitofp <4 x i16> %va to <4 x half>
  store i1 %C, ptr @G.2, align 1
  ret <4 x half> %v
}

Reproduce:

llc -mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (7):

InputFunctionConfig
fixed-vectors-i2fp.1332792b09.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v64i16_v64f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1
fixed-vectors-i2fp.28bcf05639.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v64i16_v64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O3
fixed-vectors-i2fp.dd6ee0df31.ll (mutant of fixed-vectors-i2fp.ll)ui2fp_v64i16_v64f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O0
fixed-vectors-uitofp-vp.003c6ca30f.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i16_unmasked-mtriple=riscv32 -mattr=+m -O1 -verify-machineinstrs
fixed-vectors-uitofp-vp.2efb88511c.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i16_unmasked-mtriple=riscv32 -mattr=+m -O0 -verify-machineinstrs
fixed-vectors-uitofp-vp.47b9d2b624.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i16_unmasked-mtriple=riscv64 -mattr=+m -O0 -verify-machineinstrs
fixed-vectors-uitofp-vp.6f4ad4f016.ll (mutant of fixed-vectors-uitofp-vp.ll)vuitofp_v4f16_v4i16_unmasked-mtriple=riscv64 -mattr=+m,+zvfhmin -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.