32 lines · plain
1#RUN: not --crash llc -mtriple=aarch64 -run-pass=none -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name: test_select6legalized: true7regBankSelected: false8selected: false9tracksRegLiveness: true10liveins:11body: |12 bb.0:13 14 %0:_(s32) = G_CONSTANT i32 015 %1:_(s32) = G_CONSTANT i32 116 %2:_(s1) = G_CONSTANT i32 017 %3:_(<2 x s32>) = G_IMPLICIT_DEF18 %4:_(<4 x s32>) = G_IMPLICIT_DEF19 %5:_(<2 x s1>) = G_IMPLICIT_DEF20 %6:_(<4 x s1>) = G_IMPLICIT_DEF21 22 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar23 %7:_(s32) = G_SELECT %5, %0, %124 25 ; CHECK: Bad machine code: operand types must preserve number of vector elements26 %8:_(<2 x s32>) = G_SELECT %6, %3, %327 28 ; CHECK: Bad machine code: operand types must preserve number of vector elements29 %9:_(<4 x s32>) = G_SELECT %5, %4, %430 31...32