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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vector.reverse.nxv4i16 M
Occurrences:4 in 4 configs, 1 test files, 5 more counted only
Snippet from:named-vector-shuffle-reverse.3087e8e23b.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv4i16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i16> @reverse_nxv4i16(<vscale x 4 x i16> %a) {
  %res = call <vscale x 4 x i16> @llvm.vector.reverse.nxv4i16(<vscale x 4 x i16> %a)
  %B = xor <vscale x 4 x i16> %res, %a
  ret <vscale x 4 x i16> %B
}

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

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

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.16ea649147.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i16-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+xtheadba -O1
named-vector-shuffle-reverse.213995a16c.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3
named-vector-shuffle-reverse.3087e8e23b.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O0
named-vector-shuffle-reverse.b3bfe62d28.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i16-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O1

Generated 2026-11-29 14:49 UTC.