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

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

Snippet:

@G.2 = external global i1

define <vscale x 8 x float> @reverse_nxv8f32(<vscale x 8 x float> %a) {
  %B = sub i1 false, false
  %res = call <vscale x 8 x float> @llvm.vector.reverse.nxv8f32(<vscale x 8 x float> %a)
  store i1 %B, ptr @G.2, align 1
  ret <vscale x 8 x float> %res
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
named-vector-shuffle-reverse.0e7cb4b35b.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8f32-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+d,+zvfh,+zvfbfmin,+zfh -O3
named-vector-shuffle-reverse.2bddb2d3dd.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8f32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zbb -O2
named-vector-shuffle-reverse.e21c60fb78.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8f32-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+d,+zvfhmin,+zvfbfmin -O3
named-vector-shuffle-reverse.fa8ce14303.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv8f32-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0

Generated 2026-11-29 14:49 UTC.