llvm-project
31 строка · 1.0 Кб
1# RUN: not --crash llc -o - -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2---
3name: g_extract_subvector4tracksRegLiveness: true5liveins:6body: |7bb.0:
8%0:_(s32) = G_CONSTANT i32 0
9%1:_(<vscale x 2 x s32>) = G_IMPLICIT_DEF
10%2:_(<vscale x 1 x s32>) = G_IMPLICIT_DEF
11
12; CHECK: G_EXTRACT_SUBVECTOR first source must be a register13%3:_(<vscale x 2 x s32>) = G_EXTRACT_SUBVECTOR 1, 014
15; CHECK: G_EXTRACT_SUBVECTOR index must be an immediate16%4:_(<vscale x 1 x s32>) = G_EXTRACT_SUBVECTOR %2, %017
18; CHECK: Destination type must be a vector19%5:_(s32) = G_EXTRACT_SUBVECTOR %2, 020
21; CHECK: First source must be a vector22%6:_(<vscale x 2 x s32>) = G_EXTRACT_SUBVECTOR %0, 023
24%7:_(<vscale x 1 x s16>) = G_IMPLICIT_DEF25
26; CHECK: Element type of vectors must be the same27%8:_(<vscale x 2 x s32>) = G_EXTRACT_SUBVECTOR %7, 028
29; CHECK: Index must be a multiple of the source vector's minimum vector length30%9:_(<vscale x 4 x s32>) = G_EXTRACT_SUBVECTOR %1, 331...
32