fallback: translate: call llvm.experimental.constrained.fptoui.v4i16.v4f32

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.experimental.constrained.fptoui.v4i16.v4f32 M
Occurrences:5 in 5 configs, 1 test files
Snippet from:fixed-vectors-vfptoi-constrained-sdnode.7dc1a5358f.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll) @vfptoui_v4f32_v4i16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <4 x float>

; Function Attrs: strictfp
define <4 x i16> @vfptoui_v4f32_v4i16(<4 x float> %va) #0 {
  %evec = call <4 x i16> @llvm.experimental.constrained.fptoui.v4i16.v4f32(<4 x float> %va, metadata !"fpexcept.strict")
  %B = fsub <4 x float> %va, %va
  store <4 x float> %B, ptr @G.1, align 16
  ret <4 x i16> %evec
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <4 x i16> @llvm.experimental.constrained.fptoui.v4i16.v4f32(<4 x float>, metadata) #1

attributes #0 = { strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.fptoui.v4i16.v4f32: '  %evec = call <4 x i16> @llvm.experimental.constrained.fptoui.v4i16.v4f32(<4 x float> %va, metadata !"fpexcept.strict")' (in function: vfptoui_v4f32_v4i16)
warning: Instruction selection used fallback path for vfptoui_v4f32_v4i16

Occurrences (5):

InputFunctionConfig
fixed-vectors-vfptoi-constrained-sdnode.041529dcaf.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptoui_v4f32_v4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+experimental-zvfbfa,+v -O0
fixed-vectors-vfptoi-constrained-sdnode.09aa0dc54c.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptoui_v4f32_v4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v -O2
fixed-vectors-vfptoi-constrained-sdnode.5df06b47c8.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptoui_v4f32_v4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfh,+experimental-zvfbfa,+v -O3
fixed-vectors-vfptoi-constrained-sdnode.7dc1a5358f.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptoui_v4f32_v4i16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v -O3
fixed-vectors-vfptoi-constrained-sdnode.f9f3049808.ll (mutant of fixed-vectors-vfptoi-constrained-sdnode.ll)vfptoui_v4f32_v4i16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+experimental-zvfbfa,+v,+zicond -O0

Generated 2026-11-29 14:49 UTC.