31 lines · plain
1# RUN: not --crash llc -mtriple=aarch64 -o /dev/null -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name: test_jump_table6legalized: true7tracksRegLiveness: true8jumpTable:9 kind: block-address10 entries:11 - id: 012 blocks: [ '%bb.0' ]13body: |14 bb.0:15 liveins: $x016 %0:_(s64) = COPY $x017 %1:_(p0) = COPY $x018 ; CHECK: Bad machine code: Too few operands19 G_BRJT20 21 ; CHECK: G_BRJT src operand 0 must be a pointer type22 G_BRJT %0, %jump-table.0, %023 24 ; CHECK: G_BRJT src operand 1 must be a jump table index25 G_BRJT %1, %0, %026 27 ; CHECK: G_BRJT src operand 2 must be a scalar reg type28 G_BRJT %1, %jump-table.0, %129 30...31