fallback: translate: call llvm.vp.gather.nxv8i8.nxv8p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv8i8.nxv8p0 M |
| Occurrences: | 6 in 6 configs, 2 test files, 3 more counted only |
| Snippet from: | vpgather-sdnode.6dc8c220b2.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv8i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 8 x i8> @vpgather_nxv8i8(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%v = call <vscale x 8 x i8> @llvm.vp.gather.nxv8i8.nxv8p0(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)
%C = icmp slt i32 %evl, %evl
store i1 %C, ptr %A, align 1
ret <vscale x 8 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 8 x i8> @llvm.vp.gather.nxv8i8.nxv8p0(<vscale x 8 x ptr>, <vscale x 8 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv8i8.nxv8p0: ' %v = call <vscale x 8 x i8> @llvm.vp.gather.nxv8i8.nxv8p0(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpgather_nxv8i8)
warning: Instruction selection used fallback path for vpgather_nxv8i8
Occurrences (6):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.0d38da3ba7.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv8i8_DEFAULT | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs |
| nontemporal-vp-scalable.8964f37b2d.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv8i8_ALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs |
| nontemporal-vp-scalable.98555e6191.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv8i8_S1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zvkb -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.be1149a432.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv8i8_P1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zba,+zbkb -O3 -verify-machineinstrs |
| vpgather-sdnode.4fbf849a9b.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv8i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicond -O0 |
| vpgather-sdnode.6dc8c220b2.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O2 |
Generated 2026-11-29 14:49 UTC.