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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.vector.match.nxv4i32.v4i32 M
Occurrences:4 in 4 configs, 1 test files, 12 more counted only
Snippet from:intrinsic-vector-match.b26d6f6062.ll (mutant of intrinsic-vector-match.ll) @match_nxv4xi32_v4i32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+a -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global double

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) {
  %LGV1 = load double, ptr @G.2, align 8
  %C = fcmp olt double +qnan, %LGV1
  %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)
  store i1 %C, ptr poison, align 1
  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=+zvfh,+a -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+a -O0 -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 (4):

InputFunctionConfig
intrinsic-vector-match.1dac9e0838.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh -O1
intrinsic-vector-match.b26d6f6062.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+a -O0
intrinsic-vector-match.c661c6ad2a.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zicsr,+d -O1
intrinsic-vector-match.dc09d6c5ec.ll (mutant of intrinsic-vector-match.ll)match_nxv4xi32_v4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zbkb -O1

Generated 2026-11-29 14:49 UTC.