fallback: translate: call llvm.vp.scatter.nxv2f32.nxv2p0

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv2f32.nxv2p0 M
Occurrences:7 in 6 configs, 2 test files, 1 more counted only
Snippet from:vpscatter-sdnode.8dd9c24b9a.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv2f32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zicond -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i1

define void @vpscatter_nxv2f32(<vscale x 2 x float> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv2f32.nxv2p0(<vscale x 2 x float> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
  %C = icmp ugt i16 42, 42
  store i1 %C, ptr @G.2, align 1
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
nontemporal-vp-scalable.284046e337.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zbb,+zbkb -O3 -code-model=small -verify-machineinstrs
nontemporal-vp-scalable.5381e610db.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_ALL-mtriple=riscv64 -mattr=+zihintntl,+d,+zfh,+v,+c -O0 -code-model=medium -verify-machineinstrs
nontemporal-vp-scalable.5381e610db.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+d,+zfh,+v,+c -O0 -code-model=medium -verify-machineinstrs
nontemporal-vp-scalable.b4566daa93.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.f196a6c4b4.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs
nontemporal-vp-scalable.f91ff4f59d.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zba -O1 -verify-machineinstrs
vpscatter-sdnode.8dd9c24b9a.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv2f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zicond -O3

Generated 2026-11-29 14:49 UTC.