fallback: translate: call llvm.vp.scatter.nxv8i8.nxv8p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.scatter.nxv8i8.nxv8p0 M |
| Occurrences: | 3 in 3 configs, 2 test files, 2 more counted only |
| Snippet from: | vpscatter-sdnode.f8799ccbc5.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv8i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O2 -code-model=medium |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @vpscatter_nxv8i8(<vscale x 8 x i8> %val, <vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%A = alloca i32, align 4
store i32 poison, ptr %A, align 4
%B = lshr i32 %evl, %evl
call void @llvm.vp.scatter.nxv8i8.nxv8p0(<vscale x 8 x i8> %val, <vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)
store i32 %B, ptr %A, align 4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv8i8.nxv8p0(<vscale x 8 x i8>, <vscale x 8 x ptr>, <vscale x 8 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv8i8.nxv8p0: ' call void @llvm.vp.scatter.nxv8i8.nxv8p0(<vscale x 8 x i8> %val, <vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpscatter_nxv8i8)
warning: Instruction selection used fallback path for vpscatter_nxv8i8
Occurrences (3):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.3f2067129b.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv8i8_P1 | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs |
| nontemporal-vp-scalable.4e990fe5fa.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv8i8_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs |
| vpscatter-sdnode.f8799ccbc5.ll (mutant of vpscatter-sdnode.ll) | vpscatter_nxv8i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O2 -code-model=medium |
Generated 2026-11-29 14:49 UTC.