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

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

Snippet:

define <vscale x 8 x i1> @reverse_nxv8i1(<vscale x 8 x i1> %a) {
  %res = call <vscale x 8 x i1> @llvm.vector.reverse.nxv8i1(<vscale x 8 x i1> %a)
  %B = xor <2 x i64> splat (i64 42), splat (i64 -9223372036854775808)
  store <2 x i64> %B, ptr poison, align 16
  ret <vscale x 8 x i1> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
named-vector-shuffle-reverse.037da0d496.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8i1-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zbkb -O2
named-vector-shuffle-reverse.24977d76a7.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8i1-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zba -O0
named-vector-shuffle-reverse.bf93a56851.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8i1-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zbs -O3
named-vector-shuffle-reverse.cc0a5b10e4.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8i1-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.db54766844.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+xtheadba -O1

Generated 2026-11-29 14:49 UTC.