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

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

Snippet:

define <vscale x 64 x i1> @reverse_nxv64i1(<vscale x 64 x i1> %a) {
  %res = call <vscale x 64 x i1> @llvm.vector.reverse.nxv64i1(<vscale x 64 x i1> %a)
  %C = icmp ult <vscale x 64 x i1> %a, %res
  ret <vscale x 64 x i1> %C
}

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

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

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zve64d,+zbb -O1 -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,+zve64d,+zbb -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.16ea649147.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv64i1-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_nxv64i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3
named-vector-shuffle-reverse.8b7b87b214.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv64i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+d,+zvfhmin,+zvfbfmin -O3
named-vector-shuffle-reverse.d1df485295.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv64i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zve64d,+zbb -O1

Generated 2026-11-29 14:49 UTC.