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

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

Snippet:

define <vscale x 32 x i1> @reverse_nxv32i1(<vscale x 32 x i1> %a) {
  %B = urem <4 x i32> splat (i32 -1), splat (i32 42)
  %res = call <vscale x 32 x i1> @llvm.vector.reverse.nxv32i1(<vscale x 32 x i1> %a)
  store <4 x i32> %B, ptr poison, align 16
  ret <vscale x 32 x i1> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.12b59fc7fa.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv32i1-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3
named-vector-shuffle-reverse.1bf89437a8.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv32i1-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3 -code-model=small
named-vector-shuffle-reverse.5fe9e44fe0.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv32i1-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zvbb -O1
named-vector-shuffle-reverse.cc12202195.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv32i1-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0

Generated 2026-11-29 14:49 UTC.