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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv1f32.nxv1p0 M
Occurrences:3 in 3 configs, 1 test files, 6 more counted only
Snippet from:vpscatter-sdnode.707cbdf403.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv1f32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zvbb,+zve64d -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define void @vpscatter_nxv1f32(<vscale x 1 x float> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv1f32.nxv1p0(<vscale x 1 x float> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)
  %C = icmp ne i16 0, 0
  store i1 %C, ptr @G, align 1
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zvbb,+zve64d -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zvbb,+zve64d -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
vpscatter-sdnode.1b60cc61fc.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zfa,+zbb -O2
vpscatter-sdnode.707cbdf403.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zvbb,+zve64d -O0
vpscatter-sdnode.fa3418fa5f.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zvkb -O1

Generated 2026-11-29 14:49 UTC.