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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vector.reverse.nxv1f64 M
Occurrences:6 in 6 configs, 1 test files, 12 more counted only
Snippet from:named-vector-shuffle-reverse.99514bb80a.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,+d,+zvfhmin,+zvfbfmin,+zvkb -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x double> @reverse_nxv1f64(<vscale x 1 x double> %a) {
  %A = alloca <vscale x 1 x double>, align 8
  store <vscale x 1 x double> poison, ptr %A, align 8
  %res = call <vscale x 1 x double> @llvm.vector.reverse.nxv1f64(<vscale x 1 x double> %a)
  store <vscale x 1 x double> %res, ptr %A, align 8
  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,+d,+zvfhmin,+zvfbfmin,+zvkb -O3 -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,+d,+zvfhmin,+zvfbfmin,+zvkb -O3 -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 (6):

InputFunctionConfig
named-vector-shuffle-reverse.127f4ae5bf.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zcb -O2
named-vector-shuffle-reverse.213995a16c.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3
named-vector-shuffle-reverse.5263b0c4cb.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zbkb -O0
named-vector-shuffle-reverse.99514bb80a.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,+zvfhmin,+zvfbfmin,+zvkb -O3
named-vector-shuffle-reverse.c391d4f5cb.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3 -code-model=small
named-vector-shuffle-reverse.d1df485295.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zve64d,+zbb -O1

Generated 2026-11-29 14:49 UTC.