fallback: translate: call llvm.vector.reverse.nxv1f64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv1f64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 2 more counted only |
| Snippet from: | named-vector-shuffle-reverse.93ff94c48a.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv1f64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global float
@G.3 = external global float
define <vscale x 1 x double> @reverse_nxv1f64(<vscale x 1 x double> %a) {
%LGV = load float, ptr @G.2, align 4
%B = fdiv float %LGV, 4.200000e+01
%res = call <vscale x 1 x double> @llvm.vector.reverse.nxv1f64(<vscale x 1 x double> %a)
store float %B, ptr @G.3, align 4
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=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -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 (3):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.048a1f28a4.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv1f64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zvbb -O3 |
| named-vector-shuffle-reverse.93b942296c.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv1f64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+zbb,+zbs -O1 |
| named-vector-shuffle-reverse.93ff94c48a.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv1f64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 |
Generated 2026-11-29 14:49 UTC.