fallback: translate: call llvm.experimental.constrained.trunc.v16f16

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.constrained.trunc.v16f16 M
Occurrences:4 in 4 configs, 1 test files, 14 more counted only
Snippet from:fixed-vectors-ftrunc-constrained-sdnode.cac5e0e2e6.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) @trunc_v16f16 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+m -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: strictfp
define <16 x half> @trunc_v16f16(<16 x half> %x) #0 {
  %B = mul <8 x i8> zeroinitializer, splat (i8 -128)
  %a = call <16 x half> @llvm.experimental.constrained.trunc.v16f16(<16 x half> %x, metadata !"fpexcept.strict")
  store <8 x i8> %B, ptr poison, align 8
  ret <16 x half> %a
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <16 x half> @llvm.experimental.constrained.trunc.v16f16(<16 x half>, 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=+zvfh,+v,+m -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+m -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.trunc.v16f16: '  %a = call <16 x half> @llvm.experimental.constrained.trunc.v16f16(<16 x half> %x, metadata !"fpexcept.strict")' (in function: trunc_v16f16)
warning: Instruction selection used fallback path for trunc_v16f16

Occurrences (4):

InputFunctionConfig
fixed-vectors-ftrunc-constrained-sdnode.24c6d971ce.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+zfhmin -O1
fixed-vectors-ftrunc-constrained-sdnode.455c3b6e73.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3
fixed-vectors-ftrunc-constrained-sdnode.a1f3f98cea.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O1
fixed-vectors-ftrunc-constrained-sdnode.cac5e0e2e6.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+v,+m -O3

Generated 2026-11-29 14:49 UTC.