27 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' ]13liveins:14body: |15 bb.0:16 17 ; CHECK: Bad machine code: Too few operands18 %0:_(s32) = G_JUMP_TABLE19 20 ; CHECK: G_JUMP_TABLE source operand must be a jump table index21 %2:_(s32) = G_JUMP_TABLE %022 23 ; CHECK: G_JUMP_TABLE dest operand must have a pointer type24 %3:_(s32) = G_JUMP_TABLE %jump-table.025 26...27