fallback: translate: call llvm.experimental.vector.match.nxv2i64.v2i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.vector.match.nxv2i64.v2i64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 7 more counted only |
| Snippet from: | intrinsic-vector-match.b96e3bb578.ll (mutant of intrinsic-vector-match.ll) @match_nxv2xi64_v2i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zvbb,+a -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i1> @match_nxv2xi64_v2i64(<vscale x 2 x i64> %op1, <2 x i64> %op2, <vscale x 2 x i1> %mask) {
%r = tail call <vscale x 2 x i1> @llvm.experimental.vector.match.nxv2i64.v2i64(<vscale x 2 x i64> %op1, <2 x i64> %op2, <vscale x 2 x i1> %mask)
%B = add <vscale x 2 x i1> %r, %mask
store <vscale x 2 x i1> %B, ptr poison, align 1
ret <vscale x 2 x i1> %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x i1> @llvm.experimental.vector.match.nxv2i64.v2i64(<vscale x 2 x i64>, <2 x i64>, <vscale x 2 x i1>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zvbb,+a -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zvbb,+a -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.vector.match.nxv2i64.v2i64: ' %r = tail call <vscale x 2 x i1> @llvm.experimental.vector.match.nxv2i64.v2i64(<vscale x 2 x i64> %op1, <2 x i64> %op2, <vscale x 2 x i1> %mask)' (in function: match_nxv2xi64_v2i64)
warning: Instruction selection used fallback path for match_nxv2xi64_v2i64
Occurrences (3):
| Input | Function | Config |
|---|
| intrinsic-vector-match.6d18f8acd9.ll (mutant of intrinsic-vector-match.ll) | match_nxv2xi64_v2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O3 -code-model=medium |
| intrinsic-vector-match.b7f839d6c1.ll (mutant of intrinsic-vector-match.ll) | match_nxv2xi64_v2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O2 |
| intrinsic-vector-match.b96e3bb578.ll (mutant of intrinsic-vector-match.ll) | match_nxv2xi64_v2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zvbb,+a -O0 |
Generated 2026-11-29 14:49 UTC.