fallback: translate: ret <vscale x N x bfloat>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: ret <vscale x N x bfloat>
Occurrences:20 in 2 configs, 1 test files
Snippet from:xandesvbfhcvt-vfncvt-bf16-s.ll @intrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define <vscale x 1 x bfloat> @intrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32(<vscale x 1 x float> %0, i32 %1) #0 {
entry:
  %a = call <vscale x 1 x bfloat> @llvm.riscv.nds.vfncvt.bf16.s.nxv1bf16.nxv1f32.i32(<vscale x 1 x bfloat> poison, <vscale x 1 x float> %0, i32 7, i32 %1)
  ret <vscale x 1 x bfloat> %a
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 1 x bfloat> @llvm.riscv.nds.vfncvt.bf16.s.nxv1bf16.nxv1f32.i32(<vscale x 1 x bfloat>, <vscale x 1 x float>, i32 immarg, i32) #1

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(none) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ret: '  ret <vscale x 1 x bfloat> %a' (in function: intrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32)
warning: Instruction selection used fallback path for intrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32

Occurrences (20) (first 15):

InputFunctionConfig
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv2bf16_nxv2f32-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv4bf16_nxv4f32-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv8bf16_nxv8f32-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv16bf16_nxv16f32-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv2bf16_nxv2f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv4bf16_nxv4f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv8bf16_nxv8f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.llintrinsic_vfncvt_bf16.s_nxv16bf16_nxv16f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.132a27b473.ll (mutant of xandesvbfhcvt-vfncvt-bf16-s.ll)intrinsic_vfncvt_bf16.s_nxv4bf16_nxv4f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.132a27b473.ll (mutant of xandesvbfhcvt-vfncvt-bf16-s.ll)intrinsic_vfncvt_bf16.s_nxv16bf16_nxv16f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.2a0f0a2004.ll (mutant of xandesvbfhcvt-vfncvt-bf16-s.ll)intrinsic_vfncvt_bf16.s_nxv1bf16_nxv1f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.2a0f0a2004.ll (mutant of xandesvbfhcvt-vfncvt-bf16-s.ll)intrinsic_vfncvt_bf16.s_nxv4bf16_nxv4f32-mtriple=riscv64 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=lp64d
xandesvbfhcvt-vfncvt-bf16-s.7cf6959bf8.ll (mutant of xandesvbfhcvt-vfncvt-bf16-s.ll)intrinsic_vfncvt_bf16.s_nxv4bf16_nxv4f32-mtriple=riscv32 -mattr=+v,+xandesvbfhcvt -verify-machineinstrs -target-abi=ilp32d

Generated 2026-11-29 14:49 UTC.