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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.experimental.vector.match.nxv16i8.v4i8 M
Occurrences:3 in 3 configs, 1 test files, 2 more counted only
Snippet from:intrinsic-vector-match.f97d237491.ll (mutant of intrinsic-vector-match.ll) @match_nxv16i8_v4i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zve64d -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1
@G.3 = external global float

define <vscale x 16 x i1> @match_nxv16i8_v4i8(<vscale x 16 x i8> %op1, <4 x i8> %op2, <vscale x 16 x i1> %mask) {
  %LGV1 = load float, ptr @G.3, align 4
  %r = tail call <vscale x 16 x i1> @llvm.experimental.vector.match.nxv16i8.v4i8(<vscale x 16 x i8> %op1, <4 x i8> %op2, <vscale x 16 x i1> %mask)
  %C = fcmp true float 1.401300e-45, %LGV1
  store i1 %C, ptr @G.1, align 1
  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.v4i8(<vscale x 16 x i8>, <4 x i8>, <vscale x 16 x i1>) #0

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

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
intrinsic-vector-match.89822aa037.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+zbkb -O0
intrinsic-vector-match.b28cdf5a32.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh -O3
intrinsic-vector-match.f97d237491.ll (mutant of intrinsic-vector-match.ll)match_nxv16i8_v4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zve64d -O0

Generated 2026-11-29 14:49 UTC.