fallback: translate: call llvm.vp.gather.nxv4i64.nxv4p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv4i64.nxv4p0 M |
| Occurrences: | 5 in 5 configs, 2 test files, 5 more counted only |
| Snippet from: | vpgather-sdnode.4ef886ac68.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv4i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+a,+zvbb -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i32
@G.4 = external global i32
define <vscale x 4 x i64> @vpgather_nxv4i64(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%LGV = load i32, ptr @G.3, align 4
%v = call <vscale x 4 x i64> @llvm.vp.gather.nxv4i64.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)
%B = add i32 %evl, %LGV
store i32 %B, ptr @G.4, align 4
ret <vscale x 4 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 4 x i64> @llvm.vp.gather.nxv4i64.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,+zvfh,+zvfbfmin,+v,+a,+zvbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+a,+zvbb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv4i64.nxv4p0: ' %v = call <vscale x 4 x i64> @llvm.vp.gather.nxv4i64.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpgather_nxv4i64)
warning: Instruction selection used fallback path for vpgather_nxv4i64
Occurrences (5):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.2b94e242f7.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i64_S1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbb,+zvfh -O1 -verify-machineinstrs |
| nontemporal-vp-scalable.5f032ada22.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i64_DEFAULT | -mtriple=riscv32 -mattr=+zihintntl,+f,+zfh,+v,+c,+zvfh -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.aff897545b.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_gather_nxv4i64_DEFAULT | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs |
| vpgather-sdnode.22332a201d.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1 |
| vpgather-sdnode.4ef886ac68.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+a,+zvbb -O2 |
Generated 2026-11-29 14:49 UTC.