xref: /llvm-project/llvm/test/MachineVerifier/test_g_rotr_rotl.mir (revision d20190e68413634b87f0f9426312a0e9d8456d18)
1# RUN: not --crash llc -mtriple=arm64 -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3---
4name:            test_uniform
5body: |
6  bb.0:
7    %src:_(<2 x s64>) = G_IMPLICIT_DEF
8    %amt:_(s64) = G_IMPLICIT_DEF
9
10    ; CHECK: Shifts and rotates require operands to be either all scalars or all vectors
11    %rotr:_(<2 x s64>) = G_ROTR %src, %amt
12
13...
14