fallback: translate: call llvm.vp.scatter.nxv4i8.nxv4p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.scatter.nxv4i8.nxv4p0 M |
| Occurrences: | 4 in 4 configs, 2 test files, 1 more counted only |
| Snippet from: | vpscatter-sdnode.784561ee20.ll (mutant of vpscatter-sdnode.ll) @vpscatter_truemask_nxv4i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zihintpause -O2 -code-model=small |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
define void @vpscatter_truemask_nxv4i8(<vscale x 4 x i8> %val, <vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
%LGV = load i32, ptr @G, align 4
call void @llvm.vp.scatter.nxv4i8.nxv4p0(<vscale x 4 x i8> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
%B = add i32 %evl, %LGV
store i32 %B, ptr poison, align 4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv4i8.nxv4p0(<vscale x 4 x i8>, <vscale x 4 x ptr>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zihintpause -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zihintpause -O2 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv4i8.nxv4p0: ' call void @llvm.vp.scatter.nxv4i8.nxv4p0(<vscale x 4 x i8> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vpscatter_truemask_nxv4i8)
warning: Instruction selection used fallback path for vpscatter_truemask_nxv4i8
Occurrences (4):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.0c31c8ed6e.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i8_P1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs |
| vpscatter-sdnode.6b05e0ca09.ll (mutant of vpscatter-sdnode.ll) | vpscatter_truemask_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O1 |
| vpscatter-sdnode.784561ee20.ll (mutant of vpscatter-sdnode.ll) | vpscatter_truemask_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zihintpause -O2 -code-model=small |
| vpscatter-sdnode.8cddfc41c5.ll (mutant of vpscatter-sdnode.ll) | vpscatter_truemask_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zfhmin -O2 |
Generated 2026-11-29 14:49 UTC.