fallback: translate: call llvm.vp.gather.nxv2i16.nxv2p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv2i16.nxv2p0 M |
| Occurrences: | 6 in 5 configs, 2 test files, 10 more counted only |
| Snippet from: | vpgather-sdnode.38eeb6a36a.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv2i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+f,+zvkb -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <2 x i64>
@G.2 = external global <2 x i64>
define <vscale x 2 x i16> @vpgather_nxv2i16(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%LGV = load <2 x i64>, ptr @G.1, align 16
%v = call <vscale x 2 x i16> @llvm.vp.gather.nxv2i16.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
%B = srem <2 x i64> %LGV, splat (i64 1)
store <2 x i64> %B, ptr @G.2, align 16
ret <vscale x 2 x i16> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 2 x i16> @llvm.vp.gather.nxv2i16.nxv2p0(<vscale x 2 x ptr>, <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+f,+zvkb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+f,+zvkb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv2i16.nxv2p0: ' %v = call <vscale x 2 x i16> @llvm.vp.gather.nxv2i16.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpgather_nxv2i16)
warning: Instruction selection used fallback path for vpgather_nxv2i16
Occurrences (6):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.a98efa6fca.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv2i16_P1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbb -O0 -verify-machineinstrs |
| vpgather-sdnode.38eeb6a36a.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+f,+zvkb -O2 |
| vpgather-sdnode.580cfeec03.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2i16_sextload_nxv2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 |
| vpgather-sdnode.580cfeec03.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2i16_zextload_nxv2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 |
| vpgather-sdnode.6e5023c6c1.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2i16_zextload_nxv2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+xtheadba -O3 -code-model=medium |
| vpgather-sdnode.e31b1c6888.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2i16_sextload_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 |
Generated 2026-11-29 14:49 UTC.