fallback: translate: call llvm.experimental.constrained.fptrunc.v8bf16.v8f32

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.experimental.constrained.fptrunc.v8bf16.v8f32
Occurrences:12 in 4 configs, 1 test files
Snippet from:fixed-vectors-vfptrunc-constrained-sdnode.ll @vfptrunc_v8f32_v8bf16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: strictfp
define <8 x bfloat> @vfptrunc_v8f32_v8bf16(<8 x float> %va) #0 {
  %evec = call <8 x bfloat> @llvm.experimental.constrained.fptrunc.v8bf16.v8f32(<8 x float> %va, metadata !"round.dynamic", metadata !"fpexcept.strict")
  ret <8 x bfloat> %evec
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare <8 x bfloat> @llvm.experimental.constrained.fptrunc.v8bf16.v8f32(<8 x float>, metadata, metadata) #1

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.fptrunc.v8bf16.v8f32: '  %evec = call <8 x bfloat> @llvm.experimental.constrained.fptrunc.v8bf16.v8f32(<8 x float> %va, metadata !"round.dynamic", metadata !"fpexcept.strict")' (in function: vfptrunc_v8f32_v8bf16)
warning: Instruction selection used fallback path for vfptrunc_v8f32_v8bf16

Occurrences (12):

InputFunctionConfig
fixed-vectors-vfptrunc-constrained-sdnode.llvfptrunc_v8f32_v8bf16-mtriple=riscv32 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.llvfptrunc_v8f32_v8bf16-mtriple=riscv32 -mattr=+d,+zvfhmin,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.llvfptrunc_v8f32_v8bf16-mtriple=riscv64 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=lp64d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.llvfptrunc_v8f32_v8bf16-mtriple=riscv64 -mattr=+d,+zvfhmin,+v,+zvfbfmin -target-abi=lp64d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.3eb2948bb9.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv32 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.3eeda1be06.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv64 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=lp64d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.434e6df307.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv32 -mattr=+d,+zvfhmin,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.5ff5943374.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv64 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=lp64d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.a862cbb708.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv64 -mattr=+d,+zvfhmin,+v,+zvfbfmin -target-abi=lp64d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.bf7495625d.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv32 -mattr=+d,+zvfhmin,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.bfd53a63e2.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv32 -mattr=+d,+zvfh,+v,+zvfbfmin -target-abi=ilp32d -verify-machineinstrs
fixed-vectors-vfptrunc-constrained-sdnode.f18164b0d6.ll (mutant of fixed-vectors-vfptrunc-constrained-sdnode.ll)vfptrunc_v8f32_v8bf16-mtriple=riscv64 -mattr=+d,+zvfhmin,+v,+zvfbfmin -target-abi=lp64d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.