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

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

Snippet:

@G.1 = external global i1

define <vscale x 1 x double> @reverse_nxv1f64(<vscale x 1 x double> %a) {
  %C = fcmp ole double 0.000000e+00, f0x7FEFFFFFFFFFFFFF
  %res = call <vscale x 1 x double> @llvm.vector.reverse.nxv1f64(<vscale x 1 x double> %a)
  store i1 %C, ptr @G.1, align 1
  ret <vscale x 1 x double> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.0236b191b0.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zfh -O3
named-vector-shuffle-reverse.7ccc87d246.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zfhmin -O0 -code-model=small
named-vector-shuffle-reverse.aec30bc1ed.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfhmin,+zvfbfmin -O1
named-vector-shuffle-reverse.e31495325a.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zfhmin,+zbb -O2

Generated 2026-11-29 14:49 UTC.