fallback: translate: call llvm.vp.scatter.nxv4f32.nxv4p0

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv4f32.nxv4p0 M
Occurrences:6 in 6 configs, 2 test files, 8 more counted only
Snippet from:vpscatter-sdnode.baa7dbc787.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv4f32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zicond,+zfhmin -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpscatter_nxv4f32(<vscale x 4 x float> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv4f32.nxv4p0(<vscale x 4 x float> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)
  %C = fcmp ugt <vscale x 4 x float> %val, %val
  store <vscale x 4 x i1> %C, ptr poison, align 1
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv4f32.nxv4p0(<vscale x 4 x float>, <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,+zvfbfmin,+v,+m,+zicond,+zfhmin -O1 -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,+zfhmin -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.66dcdc1140.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4f32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
nontemporal-vp-scalable.c8577ca126.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4f32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+m -O2 -verify-machineinstrs
nontemporal-vp-scalable.d7bc3b4a87.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4f32_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpscatter-sdnode.0607bb037d.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zfh -O3
vpscatter-sdnode.baa7dbc787.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zicond,+zfhmin -O1
vpscatter-sdnode.dbcf7967ab.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+m,+zfa -O1

Generated 2026-11-29 14:49 UTC.