fallback: translate: call llvm.vector.reverse.nxv2i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv2i8 M |
| Occurrences: | 3 in 3 configs, 1 test files, 7 more counted only |
| Snippet from: | named-vector-shuffle-reverse.97bfac49d8.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv2i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global float
define <vscale x 2 x i8> @reverse_nxv2i8(<vscale x 2 x i8> %a) {
%LGV = load float, ptr @G, align 4
%C = fcmp false float %LGV, 1.000000e+00
%res = call <vscale x 2 x i8> @llvm.vector.reverse.nxv2i8(<vscale x 2 x i8> %a)
store i1 %C, ptr poison, align 1
ret <vscale x 2 x i8> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x i8> @llvm.vector.reverse.nxv2i8(<vscale x 2 x i8>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+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=+m,+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.nxv2i8: ' %res = call <vscale x 2 x i8> @llvm.vector.reverse.nxv2i8(<vscale x 2 x i8> %a)' (in function: reverse_nxv2i8)
warning: Instruction selection used fallback path for reverse_nxv2i8
Occurrences (3):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.97bfac49d8.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0 |
| named-vector-shuffle-reverse.d25980049a.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2i8 | -mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zfh -O3 |
| named-vector-shuffle-reverse.d8e7f4bde5.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv2i8 | -mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O3 |
Generated 2026-11-29 14:49 UTC.