fallback: translate: call llvm.vector.reverse.nxv8f16
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv8f16 M |
| Occurrences: | 5 in 5 configs, 1 test files, 1 more counted only |
| Snippet from: | named-vector-shuffle-reverse.1c9eee3963.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv8f16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i128
define <vscale x 8 x half> @reverse_nxv8f16(<vscale x 8 x half> %a) {
%B = sdiv i128 170141183460469231731687303715884105727, 42
%res = call <vscale x 8 x half> @llvm.vector.reverse.nxv8f16(<vscale x 8 x half> %a)
store i128 %B, ptr @G.2, align 4
ret <vscale x 8 x half> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x half> @llvm.vector.reverse.nxv8f16(<vscale x 8 x half>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -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 -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reverse.nxv8f16: ' %res = call <vscale x 8 x half> @llvm.vector.reverse.nxv8f16(<vscale x 8 x half> %a)' (in function: reverse_nxv8f16)
warning: Instruction selection used fallback path for reverse_nxv8f16
Occurrences (5):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.1c9eee3963.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv8f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O2 |
| named-vector-shuffle-reverse.30787e0a04.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv8f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+f,+d,+zvfhmin,+zvfbfmin -O0 |
| named-vector-shuffle-reverse.61b29b68b4.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv8f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zve32x -O0 |
| named-vector-shuffle-reverse.6983b62b9d.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv8f16 | -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+c,+zihintpause -O1 -code-model=medium |
| named-vector-shuffle-reverse.f1bc982932.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv8f16 | -mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin,+zicond -O0 |
Generated 2026-11-29 14:49 UTC.