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

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

Snippet:

define <vscale x 1 x half> @reverse_nxv1f16(<vscale x 1 x half> %a) {
  %B = sub i8 127, -1
  %res = call <vscale x 1 x half> @llvm.vector.reverse.nxv1f16(<vscale x 1 x half> %a)
  store i8 %B, ptr poison, align 1
  ret <vscale x 1 x half> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.048a1f28a4.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zvbb -O3
named-vector-shuffle-reverse.2bddb2d3dd.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zbb -O2
named-vector-shuffle-reverse.41e58da6eb.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f16-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.e7e50ee112.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f16-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O1

Generated 2026-11-29 14:49 UTC.