llvm-for-llvmta/test/CodeGen/MIR/AArch64/parse-shufflemask-invalid1.mir

19 lines
477 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llc -mtriple=aarch64-- -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s
---
name: test_missing_lparen
tracksRegLiveness: true
body: |
bb.0:
liveins: $d0
%0:_(<2 x s32>) = COPY $d0
%2:_(<2 x s32>) = G_IMPLICIT_DEF
; CHECK: [[@LINE+1]]:71: expected syntax shufflemask(<integer or undef>, ...)
%1:_(<2 x s32>) = G_SHUFFLE_VECTOR %0(<2 x s32>), %2, shufflemask 1, 0)
$d0 = COPY %1(<2 x s32>)
RET_ReallyLR implicit $d0
...