fallback: translate: call llvm.vp.gather.nxv4i8.nxv4p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv4i8.nxv4p0 M |
| Occurrences: | 7 in 6 configs, 2 test files, 3 more counted only |
| Snippet from: | vpgather-sdnode.d335c2256f.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv4i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 4 x i8> @vpgather_nxv4i8(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%B = xor <8 x i8> splat (i8 42), zeroinitializer
%v = call <vscale x 4 x i8> @llvm.vp.gather.nxv4i8.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)
store <8 x i8> %B, ptr poison, align 8
ret <vscale x 4 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 4 x i8> @llvm.vp.gather.nxv4i8.nxv4p0(<vscale x 4 x ptr>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv4i8.nxv4p0: ' %v = call <vscale x 4 x i8> @llvm.vp.gather.nxv4i8.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpgather_nxv4i8)
warning: Instruction selection used fallback path for vpgather_nxv4i8
Occurrences (7):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.58765bdc3b.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i8_ALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zbkb -O3 -verify-machineinstrs |
| nontemporal-vp-scalable.58765bdc3b.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i8_DEFAULT | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zbkb -O3 -verify-machineinstrs |
| vpgather-sdnode.04ddbe9928.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3 |
| vpgather-sdnode.8068ad9e60.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zfa,+c -O3 |
| vpgather-sdnode.c5d5833266.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+zvbb -O0 |
| vpgather-sdnode.d335c2256f.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv4i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O3 |
| vpgather-sdnode.ef47bb5e6a.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1 |
Generated 2026-11-29 14:49 UTC.