fallback: translate: call llvm.vp.gather.nxv2f16.nxv2p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv2f16.nxv2p0 M |
| Occurrences: | 3 in 3 configs, 1 test files, 3 more counted only |
| Snippet from: | vpgather-sdnode.41c97b90fb.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv2f16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicond -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global double
define <vscale x 2 x half> @vpgather_nxv2f16(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%LGV = load double, ptr @G, align 8
%v = call <vscale x 2 x half> @llvm.vp.gather.nxv2f16.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
%B = fadd double +inf, %LGV
store double %B, ptr poison, align 8
ret <vscale x 2 x half> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 2 x half> @llvm.vp.gather.nxv2f16.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,+zicond -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicond -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv2f16.nxv2p0: ' %v = call <vscale x 2 x half> @llvm.vp.gather.nxv2f16.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpgather_nxv2f16)
warning: Instruction selection used fallback path for vpgather_nxv2f16
Occurrences (3):
| Input | Function | Config |
|---|
| vpgather-sdnode.41c97b90fb.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicond -O0 |
| vpgather-sdnode.a8ffb7f053.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+xtheadba -O0 |
| vpgather-sdnode.e9bf19ffa2.ll (mutant of vpgather-sdnode.ll) | vpgather_nxv2f16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+xtheadba,+f -O2 |
Generated 2026-11-29 14:49 UTC.