fallback: translate: call llvm.vp.scatter.nxv2i8.nxv2p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.scatter.nxv2i8.nxv2p0 M |
| Occurrences: | 4 in 4 configs, 1 test files, 5 more counted only |
| Snippet from: | nontemporal-vp-scalable.ee3a8f3af1.ll (mutant of nontemporal-vp-scalable.ll) @test_nontemporal_vp_scatter_nxv2i8_S1 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zcb -O3 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i32
define void @test_nontemporal_vp_scatter_nxv2i8_S1(<vscale x 2 x i8> %val, <vscale x 2 x ptr> %ptrs, i32 zeroext %vl) {
call void @llvm.vp.scatter.nxv2i8.nxv2p0(<vscale x 2 x i8> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> splat (i1 true), i32 %vl), !nontemporal !0, !riscv-nontemporal-domain !1
%B = sub i32 %vl, %vl
store i32 %B, ptr @G.1, align 4
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 }
!0 = !{i32 1}
!1 = !{i32 4}
Reproduce:
llc -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zcb -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zcb -O3 -verify-machineinstrs -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> splat (i1 true), i32 %vl), !nontemporal !2, !riscv-nontemporal-domain !3' (in function: test_nontemporal_vp_scatter_nxv2i8_S1)
warning: Instruction selection used fallback path for test_nontemporal_vp_scatter_nxv2i8_S1
Occurrences (4):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.448f3b95e6.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_DEFAULT | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs |
| nontemporal-vp-scalable.5718e2aa3d.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_PALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs |
| nontemporal-vp-scalable.cb574c9161.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbs,+zve32x -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.ee3a8f3af1.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv2i8_S1 | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zcb -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.