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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.constrained.trunc.v8f32 M
Occurrences:3 in 3 configs, 1 test files, 11 more counted only
Snippet from:fixed-vectors-ftrunc-constrained-sdnode.c2f8da6f25.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll) @trunc_v8f32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <8 x i1>

; Function Attrs: strictfp
define <8 x float> @trunc_v8f32(<8 x float> %x) #0 {
  %a = call <8 x float> @llvm.experimental.constrained.trunc.v8f32(<8 x float> %x, metadata !"fpexcept.strict")
  %C = fcmp ugt <8 x float> %x, zeroinitializer
  store <8 x i1> %C, ptr @G.2, align 1
  ret <8 x float> %a
}

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

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

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fixed-vectors-ftrunc-constrained-sdnode.815e4cba27.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh -O3
fixed-vectors-ftrunc-constrained-sdnode.a434ded116.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfa -O3
fixed-vectors-ftrunc-constrained-sdnode.c2f8da6f25.ll (mutant of fixed-vectors-ftrunc-constrained-sdnode.ll)trunc_v8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0

Generated 2026-11-29 14:49 UTC.