fallback: translate: call llvm.masked.gather.nxv2i16.nxv2p0

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.masked.gather.nxv2i16.nxv2p0
Occurrences:20 in 4 configs, 1 test files
Snippet from:mgather-sdnode.ll @mgather_nxv2i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x i16> @mgather_nxv2i16(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, <vscale x 2 x i16> %passthru) {
  %v = call <vscale x 2 x i16> @llvm.masked.gather.nxv2i16.nxv2p0(<vscale x 2 x ptr> align 2 %ptrs, <vscale x 2 x i1> %m, <vscale x 2 x i16> %passthru)
  ret <vscale x 2 x i16> %v
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.masked.gather.nxv2i16.nxv2p0: '  %v = call <vscale x 2 x i16> @llvm.masked.gather.nxv2i16.nxv2p0(<vscale x 2 x ptr> align 2 %ptrs, <vscale x 2 x i1> %m, <vscale x 2 x i16> %passthru)' (in function: mgather_nxv2i16)
warning: Instruction selection used fallback path for mgather_nxv2i16

Occurrences (20) (first 15):

InputFunctionConfig
mgather-sdnode.llmgather_nxv2i16-mtriple=riscv32 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_sextload_nxv2i32-mtriple=riscv32 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_zextload_nxv2i32-mtriple=riscv32 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_sextload_nxv2i64-mtriple=riscv32 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_zextload_nxv2i64-mtriple=riscv32 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16-mtriple=riscv32 -mattr=+m,+d,+zvfhmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_sextload_nxv2i32-mtriple=riscv32 -mattr=+m,+d,+zvfhmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_zextload_nxv2i32-mtriple=riscv32 -mattr=+m,+d,+zvfhmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_sextload_nxv2i64-mtriple=riscv32 -mattr=+m,+d,+zvfhmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_zextload_nxv2i64-mtriple=riscv32 -mattr=+m,+d,+zvfhmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16-mtriple=riscv64 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_sextload_nxv2i32-mtriple=riscv64 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_zextload_nxv2i32-mtriple=riscv64 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_sextload_nxv2i64-mtriple=riscv64 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs
mgather-sdnode.llmgather_nxv2i16_zextload_nxv2i64-mtriple=riscv64 -mattr=+m,+d,+zvfh,+zvfbfmin,+v -target-abi=lp64d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.