fallback: translate: call llvm.vp.scatter.nxv2i8.nxv2p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.scatter.nxv2i8.nxv2p0 M |
| Occurrences: | 5 in 5 configs, 2 test files, 2 more counted only |
| Snippet from: | vpscatter-sdnode.71d7889e01.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv2i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x i64>
define void @vpscatter_nxv2i8(<vscale x 2 x i8> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%LGV = load <2 x i64>, ptr @G, align 16
%C = icmp eq <2 x i64> %LGV, splat (i64 4294967296)
call void @llvm.vp.scatter.nxv2i8.nxv2p0(<vscale x 2 x i8> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
store <2 x i1> %C, ptr poison, align 1
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv2i8.nxv2p0(<vscale x 2 x i8>, <vscale x 2 x ptr>, <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv2i8.nxv2p0: ' call void @llvm.vp.scatter.nxv2i8.nxv2p0(<vscale x 2 x i8> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpscatter_nxv2i8)
warning: Instruction selection used fallback path for vpscatter_nxv2i8
Occurrences (5):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.0c06a0e4eb.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_S1 | -mtriple=riscv64 -mattr=+zihintntl,+d,+zfh,+v,+c,+m -O0 -code-model=medium -verify-machineinstrs |
| nontemporal-vp-scalable.3ce3d65443.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_P1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.99259561f9.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_P1 | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zve32x -O0 -verify-machineinstrs |
| vpscatter-sdnode.46924f7a1d.ll (mutant of vpscatter-sdnode.ll) | vpscatter_nxv2i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zfa -O0 |
| vpscatter-sdnode.71d7889e01.ll (mutant of vpscatter-sdnode.ll) | vpscatter_nxv2i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O2 |
Generated 2026-11-29 14:49 UTC.