parse-shufflemask-invalid3.mir 450 Bytes
# RUN: not llc -mtriple=aarch64-- -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s

---
name: test_not_integer
tracksRegLiveness: true
body:             |
  bb.0:
    liveins: $d0

    %0:_(<2 x s32>) = COPY $d0
    %2:_(<2 x s32>) = G_IMPLICIT_DEF

    ; CHECK: [[@LINE+1]]:74: expected integer constant
    %1:_(<2 x s32>) = G_SHUFFLE_VECTOR %0(<2 x s32>), %2, shufflemask(1, arst)
    $d0 = COPY %1(<2 x s32>)
    RET_ReallyLR implicit $d0

...