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

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

Snippet:

define <vscale x 1 x i32> @reverse_nxv1i32(<vscale x 1 x i32> %a) {
  %res = call <vscale x 1 x i32> @llvm.vector.reverse.nxv1i32(<vscale x 1 x i32> %a)
  %B = ashr <vscale x 1 x i32> %res, %res
  ret <vscale x 1 x i32> %B
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
named-vector-shuffle-reverse.765bb3b890.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1i32-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.9e0c74b0fb.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin -O1
named-vector-shuffle-reverse.bcbe0c7081.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+a -O3
named-vector-shuffle-reverse.e31495325a.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zfhmin,+zbb -O2
named-vector-shuffle-reverse.ed4fb1326d.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O0

Generated 2026-11-29 14:49 UTC.