fallback: translate: call llvm.experimental.vector.match.nxv16i8.v2i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.vector.match.nxv16i8.v2i8 M |
| Occurrences: | 3 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | intrinsic-vector-match.d141970481.ll (mutant of intrinsic-vector-match.ll) @match_nxv16i8_v2i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <4 x i32>
@G.2 = external global <4 x i32>
define <vscale x 16 x i1> @match_nxv16i8_v2i8(<vscale x 16 x i8> %op1, <2 x i8> %op2, <vscale x 16 x i1> %mask) {
%LGV = load <4 x i32>, ptr @G.1, align 16
%B = xor <4 x i32> splat (i32 -2147483648), %LGV
%r = tail call <vscale x 16 x i1> @llvm.experimental.vector.match.nxv16i8.v2i8(<vscale x 16 x i8> %op1, <2 x i8> %op2, <vscale x 16 x i1> %mask)
store <4 x i32> %B, ptr @G.2, align 16
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.v2i8(<vscale x 16 x i8>, <2 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=+zvfh -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.vector.match.nxv16i8.v2i8: ' %r = tail call <vscale x 16 x i1> @llvm.experimental.vector.match.nxv16i8.v2i8(<vscale x 16 x i8> %op1, <2 x i8> %op2, <vscale x 16 x i1> %mask)' (in function: match_nxv16i8_v2i8)
warning: Instruction selection used fallback path for match_nxv16i8_v2i8
Occurrences (3):
| Input | Function | Config |
|---|
| intrinsic-vector-match.4a053b36ce.ll (mutant of intrinsic-vector-match.ll) | match_nxv16i8_v2i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh,+zfhmin -O0 |
| intrinsic-vector-match.9e642ffd69.ll (mutant of intrinsic-vector-match.ll) | match_nxv16i8_v2i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O0 |
| intrinsic-vector-match.d141970481.ll (mutant of intrinsic-vector-match.ll) | match_nxv16i8_v2i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh -O1 |
Generated 2026-11-29 14:49 UTC.