fallback: translate: call llvm.vector.reverse.nxv4i16
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv4i16 M |
| Occurrences: | 4 in 4 configs, 1 test files, 8 more counted only |
| Snippet from: | named-vector-shuffle-reverse.db54766844.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv4i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+xtheadba -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 4 x i16> @reverse_nxv4i16(<vscale x 4 x i16> %a) {
%res = call <vscale x 4 x i16> @llvm.vector.reverse.nxv4i16(<vscale x 4 x i16> %a)
%B = xor i32 0, 2147483647
store i32 %B, ptr poison, align 4
ret <vscale x 4 x i16> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x i16> @llvm.vector.reverse.nxv4i16(<vscale x 4 x i16>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+xtheadba -O1 -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,+xtheadba -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reverse.nxv4i16: ' %res = call <vscale x 4 x i16> @llvm.vector.reverse.nxv4i16(<vscale x 4 x i16> %a)' (in function: reverse_nxv4i16)
warning: Instruction selection used fallback path for reverse_nxv4i16
Occurrences (4):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.198a7b7814.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv4i16 | -mtriple=riscv64 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O1 -code-model=medium |
| named-vector-shuffle-reverse.db54766844.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin,+xtheadba -O1 |
| named-vector-shuffle-reverse.dbedfa1ff9.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv4i16 | -mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O1 |
| named-vector-shuffle-reverse.fb1308d011.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv4i16 | -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin,+zvbb -O0 |
Generated 2026-11-29 14:49 UTC.