fallback: translate: call llvm.experimental.vector.match.nxv8i16.v8i16

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.experimental.vector.match.nxv8i16.v8i16 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:intrinsic-vector-match.2502e19861.ll (mutant of intrinsic-vector-match.ll) @match_nxv8i16_v8i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i1> @match_nxv8i16_v8i16(<vscale x 8 x i16> %op1, <8 x i16> %op2, <vscale x 8 x i1> %mask) {
  %A = alloca <vscale x 8 x i1>, align 1
  store <vscale x 8 x i1> poison, ptr %A, align 1
  %r = tail call <vscale x 8 x i1> @llvm.experimental.vector.match.nxv8i16.v8i16(<vscale x 8 x i16> %op1, <8 x i16> %op2, <vscale x 8 x i1> %mask)
  %C = icmp sle <vscale x 8 x i1> %mask, %r
  store <vscale x 8 x i1> %C, ptr %A, align 1
  ret <vscale x 8 x i1> %r
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x i1> @llvm.experimental.vector.match.nxv8i16.v8i16(<vscale x 8 x i16>, <8 x i16>, <vscale x 8 x i1>) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.vector.match.nxv8i16.v8i16: '  %r = tail call <vscale x 8 x i1> @llvm.experimental.vector.match.nxv8i16.v8i16(<vscale x 8 x i16> %op1, <8 x i16> %op2, <vscale x 8 x i1> %mask)' (in function: match_nxv8i16_v8i16)
warning: Instruction selection used fallback path for match_nxv8i16_v8i16

Occurrences (2):

InputFunctionConfig
intrinsic-vector-match.2502e19861.ll (mutant of intrinsic-vector-match.ll)match_nxv8i16_v8i16-mtriple=riscv32 -mattr=+v,+zvfh -verify-machineinstrs
intrinsic-vector-match.ba258da737.ll (mutant of intrinsic-vector-match.ll)match_nxv8i16_v8i16-mtriple=riscv64 -mattr=+v,+zvfh -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.