fallback: translate: fptrunc double

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:translate: fptrunc double
Occurrences:30 in 14 configs, 3 test files
Snippet from:bfloat-convert.ll @fcvt_bf16_d via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi ilp32d
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define bfloat @fcvt_bf16_d(double %a) #0 {
  %1 = fptrunc double %a to bfloat
  ret bfloat %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fptrunc: '  %1 = fptrunc double %a to bfloat' (in function: fcvt_bf16_d)
warning: Instruction selection used fallback path for fcvt_bf16_d

Occurrences (30):

InputFunctionConfig
bf16-promote.lltest_fptrunc_double-mtriple=riscv32 -mattr=+d -target-abi=ilp32d
bf16-promote.lltest_fptrunc_double-mtriple=riscv64 -mattr=+d -target-abi=lp64d
bfloat-convert.llfcvt_bf16_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi ilp32d
bfloat-convert.llfcvt_bf16_d-mtriple=riscv32 -mattr=+d,+zfbfmin -verify-machineinstrs -target-abi ilp32d
bfloat-convert.llfcvt_bf16_d-mtriple=riscv32 -mattr=+zfbfmin -verify-machineinstrs -target-abi ilp32f
bfloat-convert.llfcvt_bf16_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi lp64d
bfloat-convert.llfcvt_bf16_d-mtriple=riscv64 -mattr=+d,+zfbfmin -verify-machineinstrs -target-abi lp64d
bfloat-convert.llfcvt_bf16_d-mtriple=riscv64 -mattr=+zfbfmin -verify-machineinstrs -target-abi lp64f
bfloat.lldouble_to_bfloat-mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs
bfloat.lldouble_to_bfloat-mtriple=riscv32 -mattr=+d -target-abi=ilp32d -verify-machineinstrs
bfloat.lldouble_to_bfloat-mtriple=riscv32 -verify-machineinstrs
bfloat.lldouble_to_bfloat-mtriple=riscv64 -mattr=+d -target-abi=lp64 -verify-machineinstrs
bfloat.lldouble_to_bfloat-mtriple=riscv64 -mattr=+d -target-abi=lp64d -verify-machineinstrs
bfloat.lldouble_to_bfloat-mtriple=riscv64 -verify-machineinstrs
bf16-promote.6ffc6d614b.ll (mutant of bf16-promote.ll)test_fptrunc_double-mtriple=riscv32 -mattr=+d -target-abi=ilp32d
bf16-promote.9d8eef37c6.ll (mutant of bf16-promote.ll)test_fptrunc_double-mtriple=riscv64 -mattr=+d -target-abi=lp64d
bf16-promote.c49dd4aa3e.ll (mutant of bf16-promote.ll)test_fptrunc_double-mtriple=riscv32 -mattr=+d -target-abi=ilp32d
bf16-promote.cf6a4ecc24.ll (mutant of bf16-promote.ll)test_fptrunc_double-mtriple=riscv64 -mattr=+d -target-abi=lp64d
bfloat-convert.0c0579e9b9.ll (mutant of bfloat-convert.ll)fcvt_bf16_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi lp64d
bfloat-convert.24cf6ada8a.ll (mutant of bfloat-convert.ll)fcvt_bf16_d-mtriple=riscv64 -mattr=+d,+zfbfmin -verify-machineinstrs -target-abi lp64d
bfloat-convert.33c9bde8a2.ll (mutant of bfloat-convert.ll)fcvt_bf16_d-mtriple=riscv32 -mattr=+d,+zfbfmin -verify-machineinstrs -target-abi ilp32d
bfloat-convert.3aa63cedfa.ll (mutant of bfloat-convert.ll)fcvt_bf16_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi ilp32d
bfloat-convert.6890cc2c5a.ll (mutant of bfloat-convert.ll)fcvt_bf16_d-mtriple=riscv64 -mattr=+zfbfmin -verify-machineinstrs -target-abi lp64f
bfloat-convert.cf892d99ec.ll (mutant of bfloat-convert.ll)fcvt_bf16_d-mtriple=riscv32 -mattr=+zfbfmin -verify-machineinstrs -target-abi ilp32f
bfloat.351cb5ba16.ll (mutant of bfloat.ll)double_to_bfloat-mtriple=riscv32 -mattr=+d -target-abi=ilp32d -verify-machineinstrs
bfloat.9276a02cab.ll (mutant of bfloat.ll)double_to_bfloat-mtriple=riscv64 -mattr=+d -target-abi=lp64d -verify-machineinstrs
bfloat.9f6b3fec6a.ll (mutant of bfloat.ll)double_to_bfloat-mtriple=riscv64 -mattr=+d -target-abi=lp64 -verify-machineinstrs
bfloat.a3f1c78ef7.ll (mutant of bfloat.ll)double_to_bfloat-mtriple=riscv32 -verify-machineinstrs
bfloat.a680a71132.ll (mutant of bfloat.ll)double_to_bfloat-mtriple=riscv64 -verify-machineinstrs
bfloat.f1a75dd5f9.ll (mutant of bfloat.ll)double_to_bfloat-mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.