fallback: translate: call llvm.experimental.vector.match.nxv4i32.v4i32
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.vector.match.nxv4i32.v4i32 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | intrinsic-vector-match.c18f629a31.ll (mutant of intrinsic-vector-match.ll) @match_nxv4xi32_v4i32 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v,+zvfh -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = 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) {
%LGV = load double, ptr @G, align 8
%C = fcmp une double 4.200000e+01, %LGV
%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=riscv32 -mattr=+v,+zvfh -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v,+zvfh -verify-machineinstrs -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 (2):
| Input | Function | Config |
|---|
| intrinsic-vector-match.c18f629a31.ll (mutant of intrinsic-vector-match.ll) | match_nxv4xi32_v4i32 | -mtriple=riscv32 -mattr=+v,+zvfh -verify-machineinstrs |
| intrinsic-vector-match.daccc891e8.ll (mutant of intrinsic-vector-match.ll) | match_nxv4xi32_v4i32 | -mtriple=riscv64 -mattr=+v,+zvfh -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.