fallback: translate: call llvm.vp.scatter.nxv4i32.nxv4p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.scatter.nxv4i32.nxv4p0 M |
| Occurrences: | 8 in 6 configs, 2 test files, 8 more counted only |
| Snippet from: | vpscatter-sdnode.fce936dddd.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv4i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
@G.1 = external global i64
define void @vpscatter_nxv4i32(<vscale x 4 x i32> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%LGV = load i64, ptr @G, align 4
%B = or i64 -1, %LGV
call void @llvm.vp.scatter.nxv4i32.nxv4p0(<vscale x 4 x i32> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)
store i64 %B, ptr @G.1, align 4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv4i32.nxv4p0(<vscale x 4 x i32>, <vscale x 4 x ptr>, <vscale x 4 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 -O3 -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 -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv4i32.nxv4p0: ' call void @llvm.vp.scatter.nxv4i32.nxv4p0(<vscale x 4 x i32> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpscatter_nxv4i32)
warning: Instruction selection used fallback path for vpscatter_nxv4i32
Occurrences (8):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.052e6e4a8c.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_S1 | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.11aef2c9a9.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs |
| nontemporal-vp-scalable.661d87d4bf.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa -O1 -verify-machineinstrs |
| nontemporal-vp-scalable.788c4c477e.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_PALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.b510f09ee2.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs |
| vpscatter-sdnode.0bc6f56858.ll (mutant of vpscatter-sdnode.ll) | vpscatter_truemask_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O0 |
| vpscatter-sdnode.ad4b2480d9.ll (mutant of vpscatter-sdnode.ll) | vpscatter_truemask_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zicond -O2 |
| vpscatter-sdnode.fce936dddd.ll (mutant of vpscatter-sdnode.ll) | vpscatter_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O3 |
Generated 2026-11-29 14:49 UTC.