fallback: translate: call llvm.vp.scatter.nxv4i32.nxv4p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.scatter.nxv4i32.nxv4p0 M |
| Occurrences: | 5 in 5 configs, 2 test files, 6 more counted only |
| Snippet from: | vpscatter-sdnode.2aebe21606.ll (mutant of vpscatter-sdnode.ll) @vpscatter_truemask_nxv4i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m,+zvbb -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i32
define void @vpscatter_truemask_nxv4i32(<vscale x 4 x i32> %val, <vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%LGV1 = load i32, ptr @G.2, align 4
%C = icmp uge i32 %evl, %LGV1
call void @llvm.vp.scatter.nxv4i32.nxv4p0(<vscale x 4 x i32> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
store i1 %C, ptr %A, align 1
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,+zvfhmin,+v,+m,+zvbb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m,+zvbb -O1 -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> splat (i1 true), i32 %evl)' (in function: vpscatter_truemask_nxv4i32)
warning: Instruction selection used fallback path for vpscatter_truemask_nxv4i32
Occurrences (5):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.54051c5366.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_PALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs |
| nontemporal-vp-scalable.63c04bb4c4.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_scatter_nxv4i32_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfhmin -O0 -verify-machineinstrs |
| vpscatter-sdnode.2aebe21606.ll (mutant of vpscatter-sdnode.ll) | vpscatter_truemask_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m,+zvbb -O1 |
| vpscatter-sdnode.3a2ab759de.ll (mutant of vpscatter-sdnode.ll) | vpscatter_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O0 |
| vpscatter-sdnode.cbf2d2ce60.ll (mutant of vpscatter-sdnode.ll) | vpscatter_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O1 |
Generated 2026-11-29 14:49 UTC.