fallback: translate: call llvm.experimental.vector.match.nxv16i8.v16i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.experimental.vector.match.nxv16i8.v16i8 M
Occurrences:3 in 3 configs, 1 test files, 8 more counted only
Snippet from:intrinsic-vector-match.5bc9e92933.ll (mutant of intrinsic-vector-match.ll) @match_nxv16i8_v16i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+d -O1 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <16 x i1>

define <vscale x 16 x i1> @match_nxv16i8_v16i8(<vscale x 16 x i8> %op1, <16 x i8> %op2, <vscale x 16 x i1> %mask) {
  %C = icmp sge <16 x i8> %op2, splat (i8 1)
  %r = tail call <vscale x 16 x i1> @llvm.experimental.vector.match.nxv16i8.v16i8(<vscale x 16 x i8> %op1, <16 x i8> %op2, <vscale x 16 x i1> %mask)
  store <16 x i1> %C, ptr @G, align 2
  ret <vscale x 16 x i1> %r
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i1> @llvm.experimental.vector.match.nxv16i8.v16i8(<vscale x 16 x i8>, <16 x i8>, <vscale x 16 x i1>) #0

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

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+d -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+d -O1 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
intrinsic-vector-match.5bc9e92933.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v16i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+d -O1 -code-model=medium
intrinsic-vector-match.70a7a5e444.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v16i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+zicsr,+xtheadba -O3
intrinsic-vector-match.b96e3bb578.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v16i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zvbb,+a -O0

Generated 2026-11-29 14:49 UTC.