fallback: legalize: G_SITOFP <N x f16>,<N x i64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_SITOFP <N x f16>,<N x i64> M
Occurrences:9 in 9 configs, 2 test files, 25 more counted only
Snippet from:fixed-vectors-i2fp.e1550ba8dc.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v2i64_v2f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @si2fp_v2i64_v2f16(ptr %x, ptr %y) {
  %a = load <2 x i64>, ptr %x, align 16
  %d = sitofp <2 x i64> %a to <2 x half>
  %G = getelementptr <2 x i64>, ptr %y, i32 1
  store <2 x half> %d, ptr %G, align 4
  ret void
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(<2 x f16>) = G_SITOFP %2:_(<2 x i64>) (in function: si2fp_v2i64_v2f16)
warning: Instruction selection used fallback path for si2fp_v2i64_v2f16

Occurrences (9):

InputFunctionConfig
fixed-vectors-i2fp.b1bd0a69f7.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+experimental-zvfbfa,+f,+d -O1
fixed-vectors-i2fp.db9dd8cd7c.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zve32x -O2
fixed-vectors-i2fp.e1550ba8dc.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 -code-model=small
fixed-vectors-i2fp.ed31ea2d0f.ll (mutant of fixed-vectors-i2fp.ll)si2fp_v2i64_v2f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfbfmin,+f,+d,+zfhmin -O0
fixed-vectors-sitofp-vp.245430c4b9.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i64-mtriple=riscv64 -mattr=+m,+zvfh,+zfhmin -O0 -verify-machineinstrs
fixed-vectors-sitofp-vp.46ee094013.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i64_unmasked-mtriple=riscv64 -mattr=+m,+zvfh -O3 -verify-machineinstrs
fixed-vectors-sitofp-vp.94696e7772.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i64_unmasked-mtriple=riscv32 -mattr=+m,+zvfh,+zvbb -O1 -verify-machineinstrs
fixed-vectors-sitofp-vp.983aae8ce1.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i64-mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs
fixed-vectors-sitofp-vp.dd7c910e4a.ll (mutant of fixed-vectors-sitofp-vp.ll)vsitofp_v4f16_v4i64_unmasked-mtriple=riscv32 -mattr=+zvfhmin -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.