parse-shufflemask-invalid1.mir
477 Bytes
# 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
...