fallback: translate: call llvm.vp.scatter.nxv1i8.nxv1p0

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv1i8.nxv1p0 M
Occurrences:3 in 3 configs, 2 test files, 9 more counted only
Snippet from:vpscatter-sdnode.bde3d00dec.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv1i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32

define void @vpscatter_nxv1i8(<vscale x 1 x i8> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %LGV = load i32, ptr @G, align 4
  %C = icmp sle i32 %evl, %LGV
  call void @llvm.vp.scatter.nxv1i8.nxv1p0(<vscale x 1 x i8> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)
  store i1 %C, ptr poison, align 1
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv1i8.nxv1p0(<vscale x 1 x i8>, <vscale x 1 x ptr>, <vscale x 1 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv1i8.nxv1p0: '  call void @llvm.vp.scatter.nxv1i8.nxv1p0(<vscale x 1 x i8> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpscatter_nxv1i8)
warning: Instruction selection used fallback path for vpscatter_nxv1i8

Occurrences (3):

InputFunctionConfig
nontemporal-vp-scalable.78a71343c0.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i8_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
vpscatter-sdnode.0e58215508.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O1
vpscatter-sdnode.bde3d00dec.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3

Generated 2026-11-29 14:49 UTC.