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

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

Snippet:

@G.1 = external global i1

define <vscale x 4 x i64> @reverse_nxv4i64(<vscale x 4 x i64> %a) {
  %C = fcmp ule float 4.200000e+01, 0.000000e+00
  %res = call <vscale x 4 x i64> @llvm.vector.reverse.nxv4i64(<vscale x 4 x i64> %a)
  store i1 %C, ptr @G.1, align 1
  ret <vscale x 4 x i64> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.0b3d053fa3.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 -code-model=small
named-vector-shuffle-reverse.24b8fa4ad7.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i64-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O2
named-vector-shuffle-reverse.93ff94c48a.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.fa8ce14303.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0

Generated 2026-11-29 14:49 UTC.