brintos

brintos / llvm-project-archived public Read only

0
0
Text · 736 B · 4866131 Raw
22 lines · plain
1# RUN: not --crash llc -mtriple=arm64 -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name: test_shift6body: |7  bb.0:8    %s32:_(s32) = G_IMPLICIT_DEF9    %v2s32:_(<2 x s32>) = G_IMPLICIT_DEF10    %s64:_(s64) = G_IMPLICIT_DEF11    %v2s64:_(<2 x s64>) = G_IMPLICIT_DEF12 13    ; CHECK: Shifts and rotates require operands to be either all scalars or all vectors14    %shl:_(<2 x s64>) = G_SHL %v2s64, %s6415 16    ; CHECK: Shifts and rotates require operands to be either all scalars or all vectors17    %lshr:_(s32) = G_LSHR %s32, %v2s3218 19    ; CHECK: Shifts and rotates require operands to be either all scalars or all vectors20    %ashr:_(<2 x s32>) = G_ASHR %v2s32, %s6421...22