fallback: translate: call llvm.vector.reverse.nxv2f64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv2f64 M |
| Occurrences: | 4 in 4 configs, 1 test files, 3 more counted only |
| Snippet from: | named-vector-shuffle-reverse.5273a744c6.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv2f64 via llvm-extract |
| Config: | -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 -code-model=small |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x double> @reverse_nxv2f64(<vscale x 2 x double> %a) {
%res = call <vscale x 2 x double> @llvm.vector.reverse.nxv2f64(<vscale x 2 x double> %a)
%B = fsub <vscale x 2 x double> %res, %a
ret <vscale x 2 x double> %B
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x double> @llvm.vector.reverse.nxv2f64(<vscale x 2 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,+zvfh,+zvfbfmin -O3 -code-model=small -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,+zvfh,+zvfbfmin -O3 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reverse.nxv2f64: ' %res = call <vscale x 2 x double> @llvm.vector.reverse.nxv2f64(<vscale x 2 x double> %a)' (in function: reverse_nxv2f64)
warning: Instruction selection used fallback path for reverse_nxv2f64
Occurrences (4):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.258edb2659.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2f64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+d,+zvfh,+zvfbfmin,+zfa -O1 |
| named-vector-shuffle-reverse.3b4aec641e.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2f64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zfh,+zbs -O0 |
| named-vector-shuffle-reverse.5273a744c6.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2f64 | -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 -code-model=small |
| named-vector-shuffle-reverse.f742574520.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2f64 | -mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O0 |
Generated 2026-11-29 14:49 UTC.