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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vector.reverse.nxv16f32 M
Occurrences:6 in 6 configs, 1 test files, 3 more counted only
Snippet from:named-vector-shuffle-reverse.2ca9246459.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv16f32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i16

define <vscale x 16 x float> @reverse_nxv16f32(<vscale x 16 x float> %a) {
  %B = urem i16 42, 42
  %res = call <vscale x 16 x float> @llvm.vector.reverse.nxv16f32(<vscale x 16 x float> %a)
  store i16 %B, ptr @G, align 2
  ret <vscale x 16 x float> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
named-vector-shuffle-reverse.1e1331aa6a.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16f32-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O0
named-vector-shuffle-reverse.2ca9246459.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16f32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O2
named-vector-shuffle-reverse.4ea4348df2.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16f32-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.765bb3b890.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16f32-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.c0904e16ca.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16f32-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O2
named-vector-shuffle-reverse.d4c8e056fa.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16f32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+a -O2

Generated 2026-11-29 14:49 UTC.