fallback: translate: call llvm.vector.reverse.nxv16i32
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reverse.nxv16i32 M |
| Occurrences: | 3 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | named-vector-shuffle-reverse.338db5c22c.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv16i32 via llvm-extract |
| Config: | -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+v,+f,+d,+zvfh,+zvfbfmin -O3 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 16 x i32> @reverse_nxv16i32(<vscale x 16 x i32> %a) {
%C = fcmp olt <4 x float> zeroinitializer, splat (float f0x7F7FFFFF)
%res = call <vscale x 16 x i32> @llvm.vector.reverse.nxv16i32(<vscale x 16 x i32> %a)
store <4 x i1> %C, ptr poison, align 1
ret <vscale x 16 x i32> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i32> @llvm.vector.reverse.nxv16i32(<vscale x 16 x i32>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+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=+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.nxv16i32: ' %res = call <vscale x 16 x i32> @llvm.vector.reverse.nxv16i32(<vscale x 16 x i32> %a)' (in function: reverse_nxv16i32)
warning: Instruction selection used fallback path for reverse_nxv16i32
Occurrences (3):
| Input | Function | Config |
|---|
| named-vector-shuffle-reverse.338db5c22c.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv16i32 | -mtriple=riscv64 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+v,+f,+d,+zvfh,+zvfbfmin -O3 -code-model=small |
| named-vector-shuffle-reverse.6b6e9cb29d.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv16i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+zvfh,+zvfbfmin -O0 |
| named-vector-shuffle-reverse.765bb3b890.ll (mutant of named-vector-shuffle-reverse.ll) | reverse_nxv16i32 | -mtriple=riscv32 -riscv-v-vector-bits-max=256 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O3 |
Generated 2026-11-29 14:49 UTC.