fallback: translate: call llvm.vector.reverse.nxv1i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv1i8 M |
| Occurrences: | 3 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | named-vector-shuffle-reverse.30787e0a04.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv1i8 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:
@G.3 = external global i32
@G.4 = external global i32
define <vscale x 1 x i8> @reverse_nxv1i8(<vscale x 1 x i8> %a) {
%LGV = load i32, ptr @G.3, align 4
%B = urem i32 -1, %LGV
%res = call <vscale x 1 x i8> @llvm.vector.reverse.nxv1i8(<vscale x 1 x i8> %a)
store i32 %B, ptr @G.4, align 4
ret <vscale x 1 x i8> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i8> @llvm.vector.reverse.nxv1i8(<vscale x 1 x i8>) #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.nxv1i8: ' %res = call <vscale x 1 x i8> @llvm.vector.reverse.nxv1i8(<vscale x 1 x i8> %a)' (in function: reverse_nxv1i8)
warning: Instruction selection used fallback path for reverse_nxv1i8
Occurrences (3):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.30787e0a04.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv1i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+f,+d,+zvfhmin,+zvfbfmin -O0 |
| named-vector-shuffle-reverse.334813f8ac.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv1i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O1 |
| named-vector-shuffle-reverse.ebe8ef4492.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv1i8 | -mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+v,+f,+d,+zvfhmin,+zvfbfmin -O2 |
Generated 2026-11-29 14:49 UTC.