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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vector.reverse.nxv4f32 M
Occurrences:3 in 3 configs, 1 test files, 6 more counted only
Snippet from:named-vector-shuffle-reverse.8ab28e55ef.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv4f32 via llvm-extract
Config:-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x float> @reverse_nxv4f32(<vscale x 4 x float> %a) {
  %C = icmp eq i32 65536, 0
  %res = call <vscale x 4 x float> @llvm.vector.reverse.nxv4f32(<vscale x 4 x float> %a)
  store i1 %C, ptr poison, align 1
  ret <vscale x 4 x float> %res
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x float> @llvm.vector.reverse.nxv4f32(<vscale x 4 x float>) #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 -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 -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
named-vector-shuffle-reverse.23f90dfd7c.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4f32-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O1
named-vector-shuffle-reverse.6c96d7ed1b.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4f32-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+xtheadba -O3 -code-model=medium
named-vector-shuffle-reverse.8ab28e55ef.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv4f32-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin -O3

Generated 2026-11-29 14:49 UTC.