fallback: translate: call llvm.vp.gather.nxv4i16.nxv4p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv4i16.nxv4p0 M |
| Occurrences: | 5 in 5 configs, 2 test files, 4 more counted only |
| Snippet from: | vpgather-sdnode.a903d463f4.ll (mutant of vpgather-sdnode.ll) @vpgather_truemask_nxv4i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 4 x i16> @vpgather_truemask_nxv4i16(<vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
%A = alloca i8, align 1
store i8 poison, ptr %A, align 1
%B = srem i8 1, -1
%v = call <vscale x 4 x i16> @llvm.vp.gather.nxv4i16.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
store i8 %B, ptr %A, align 1
ret <vscale x 4 x i16> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 4 x i16> @llvm.vp.gather.nxv4i16.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=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv4i16.nxv4p0: ' %v = call <vscale x 4 x i16> @llvm.vp.gather.nxv4i16.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vpgather_truemask_nxv4i16)
warning: Instruction selection used fallback path for vpgather_truemask_nxv4i16
Occurrences (5):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.3267ad863f.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i16_S1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs |
| nontemporal-vp-scalable.6cc1b48605.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i16_DEFAULT | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zvbb -O3 -code-model=medium -verify-machineinstrs |
| nontemporal-vp-scalable.9595b74f72.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i16_DEFAULT | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zvfh -O3 -verify-machineinstrs |
| vpgather-sdnode.5f451d61e5.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O1 |
| vpgather-sdnode.a903d463f4.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0 |
Generated 2026-11-29 14:49 UTC.