fallback: translate: call llvm.vector.reverse.nxv1bf16

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vector.reverse.nxv1bf16 M
Occurrences:4 in 4 configs, 1 test files, 8 more counted only
Snippet from:named-vector-shuffle-reverse.f1bc982932.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv1bf16 via llvm-extract
Config:-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+zicond -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x bfloat> @reverse_nxv1bf16(<vscale x 1 x bfloat> %a) {
  %res = call <vscale x 1 x bfloat> @llvm.vector.reverse.nxv1bf16(<vscale x 1 x bfloat> %a)
  %C = fcmp ueq double 4.940660e-324, 4.200000e+01
  store i1 %C, ptr poison, align 1
  ret <vscale x 1 x bfloat> %res
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x bfloat> @llvm.vector.reverse.nxv1bf16(<vscale x 1 x bfloat>) #0

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

Reproduce:

llc -mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+zicond -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+zicond -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reverse.nxv1bf16: '  %res = call <vscale x 1 x bfloat> @llvm.vector.reverse.nxv1bf16(<vscale x 1 x bfloat> %a)' (in function: reverse_nxv1bf16)
warning: Instruction selection used fallback path for reverse_nxv1bf16

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.2d16deb32c.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O2 -code-model=small
named-vector-shuffle-reverse.46aca204af.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1bf16-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+d,+zvfbfmin -O3 -code-model=medium
named-vector-shuffle-reverse.b5e15baf72.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zicond -O3 -code-model=small
named-vector-shuffle-reverse.f1bc982932.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1bf16-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+zicond -O0

Generated 2026-11-29 14:49 UTC.