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

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

Snippet:

define <vscale x 1 x float> @reverse_nxv1f32(<vscale x 1 x float> %a) {
  %A = alloca i32, align 4
  store i32 poison, ptr %A, align 4
  %res = call <vscale x 1 x float> @llvm.vector.reverse.nxv1f32(<vscale x 1 x float> %a)
  %B = xor i32 65536, -1
  store i32 %B, ptr %A, align 4
  ret <vscale x 1 x float> %res
}

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

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+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=+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.nxv1f32: '  %res = call <vscale x 1 x float> @llvm.vector.reverse.nxv1f32(<vscale x 1 x float> %a)' (in function: reverse_nxv1f32)
warning: Instruction selection used fallback path for reverse_nxv1f32

Occurrences (5):

InputFunctionConfig
named-vector-shuffle-reverse.09bda09a39.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f32-mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O2
named-vector-shuffle-reverse.198a7b7814.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f32-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O1 -code-model=medium
named-vector-shuffle-reverse.30787e0a04.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+f,+d,+zvfhmin,+zvfbfmin -O0
named-vector-shuffle-reverse.4fcd807ac4.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f32-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3
named-vector-shuffle-reverse.b464b25d70.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv1f32-mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O2

Generated 2026-11-29 14:49 UTC.