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

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

Snippet:

@G = external global i32

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) {
  %LGV = load i32, ptr @G, align 4
  %B = mul i32 %LGV, -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)
  store i32 %B, ptr @G, align 4
  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 -verify-machineinstrs -mattr=+v,+zvfh -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O0 -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 (3):

InputFunctionConfig
intrinsic-vector-match.47b15cf55a.ll (mutant of intrinsic-vector-match.ll)match_nxv8i16_v8i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O0
intrinsic-vector-match.4bc17f8f35.ll (mutant of intrinsic-vector-match.ll)match_nxv8i16_v8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O0
intrinsic-vector-match.b9d1570752.ll (mutant of intrinsic-vector-match.ll)match_nxv8i16_v8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O0

Generated 2026-11-29 14:49 UTC.