fallback: translate: call llvm.experimental.vector.match.nxv4i32.v4i32

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.experimental.vector.match.nxv4i32.v4i32 M
Occurrences:5 in 5 configs, 1 test files, 4 more counted only
Snippet from:intrinsic-vector-match.766071f7ed.ll (mutant of intrinsic-vector-match.ll) @match_nxv4xi32_v4i32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O1 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i1> @match_nxv4xi32_v4i32(<vscale x 4 x i32> %op1, <4 x i32> %op2, <vscale x 4 x i1> %mask) {
  %r = tail call <vscale x 4 x i1> @llvm.experimental.vector.match.nxv4i32.v4i32(<vscale x 4 x i32> %op1, <4 x i32> %op2, <vscale x 4 x i1> %mask)
  %B = sub <4 x i32> %op2, zeroinitializer
  store <4 x i32> %B, ptr poison, align 16
  ret <vscale x 4 x i1> %r
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x i1> @llvm.experimental.vector.match.nxv4i32.v4i32(<vscale x 4 x i32>, <4 x i32>, <vscale x 4 x i1>) #0

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

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
intrinsic-vector-match.231daa515e.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+zfh,+d -O1
intrinsic-vector-match.28a84bc869.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zfh -O0
intrinsic-vector-match.766071f7ed.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O1 -code-model=small
intrinsic-vector-match.80fb806c6f.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+d -O1
intrinsic-vector-match.b28cdf5a32.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh -O3

Generated 2026-11-29 14:49 UTC.