2020-02-12 15:01:35 +08:00
|
|
|
#RUN: not --crash llc -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
2020-08-27 22:50:25 +08:00
|
|
|
# REQUIRES: aarch64-registered-target
|
2018-12-06 07:53:30 +08:00
|
|
|
---
|
|
|
|
name: g_concat_vectors
|
|
|
|
legalized: true
|
|
|
|
regBankSelected: false
|
|
|
|
selected: false
|
|
|
|
tracksRegLiveness: true
|
2021-02-28 08:35:48 +08:00
|
|
|
liveins:
|
2018-12-06 07:53:30 +08:00
|
|
|
body: |
|
|
|
|
bb.0:
|
|
|
|
|
2021-02-28 08:35:48 +08:00
|
|
|
%0:_(<2 x s32>) = IMPLICIT_DEF
|
|
|
|
%1:_(<2 x s32>) = IMPLICIT_DEF
|
|
|
|
|
|
|
|
; CHECK: Bad machine code: G_CONCAT_VECTOR num dest and source elements should match
|
2018-12-06 07:53:30 +08:00
|
|
|
%2:_(<2 x s32>) = G_CONCAT_VECTORS %0, %1
|
2021-02-28 08:35:48 +08:00
|
|
|
|
|
|
|
; CHECK: Bad machine code: G_CONCAT_VECTOR requires at least 2 source operands
|
|
|
|
%3:_(<2 x s32>) = G_CONCAT_VECTORS %1
|
|
|
|
|
|
|
|
; CHECK: *** Bad machine code: Explicit definition marked as use ***
|
|
|
|
G_CONCAT_VECTORS %1, %1
|
|
|
|
|
2018-12-06 07:53:30 +08:00
|
|
|
...
|