fallback: translate: call llvm.vp.gather.nxv2i8.nxv2p0

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.vp.gather.nxv2i8.nxv2p0 M
Occurrences:6 in 6 configs, 1 test files
Snippet from:vpgather-sdnode.251657e3e4.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv2i8_zextload_nxv2i32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i16

define <vscale x 2 x i32> @vpgather_nxv2i8_zextload_nxv2i32(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %A = alloca i16, align 2
  store i16 poison, ptr %A, align 2
  %LGV = load i16, ptr @G.3, align 2
  %v = call <vscale x 2 x i8> @llvm.vp.gather.nxv2i8.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
  %B = add i16 -1, %LGV
  %ev = zext <vscale x 2 x i8> %v to <vscale x 2 x i32>
  store i16 %B, ptr %A, align 2
  ret <vscale x 2 x i32> %ev
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 2 x i8> @llvm.vp.gather.nxv2i8.nxv2p0(<vscale x 2 x ptr>, <vscale x 2 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv2i8.nxv2p0: '  %v = call <vscale x 2 x i8> @llvm.vp.gather.nxv2i8.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpgather_nxv2i8_zextload_nxv2i32)
warning: Instruction selection used fallback path for vpgather_nxv2i8_zextload_nxv2i32

Occurrences (6):

InputFunctionConfig
vpgather-sdnode.251657e3e4.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs
vpgather-sdnode.84eb395ca4.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv32 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
vpgather-sdnode.b432bd5097.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv64 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs
vpgather-sdnode.b6d0efc84a.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv64 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
vpgather-sdnode.ca3091ce27.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
vpgather-sdnode.cf17e16a00.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv32 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.