41 lines · plain
1# RUN: not --crash llc -o - -mtriple=arm64 -global-isel -run-pass=none \2# RUN: -verify-machineinstrs %s 2>&1 | FileCheck %s3# REQUIRES: aarch64-registered-target4 5---6name: test_constant_pool7constants:8 - id: 09 value: 'double 3.250000e+00'10stack:11 - { id: 0, size: 64, alignment: 8 }12legalized: true13regBankSelected: false14selected: false15tracksRegLiveness: true16liveins:17body: |18 bb.0:19 20 ; CHECK: Bad machine code: Too few operands21 %0:_(p0) = G_CONSTANT_POOL22 23 ; CHECK: Bad machine code: Src operand 1 must be a constant pool index24 %1:_(p0) = G_CONSTANT_POOL 125 26 ; CHECK: Bad machine code: Src operand 1 must be a constant pool index27 %2:_(p0) = G_CONSTANT_POOL i32 128 29 ; CHECK: Bad machine code: Src operand 1 must be a constant pool index30 %3:_(p0) = G_CONSTANT_POOL %stack.031 32 ; CHECK: Dst operand 0 must be a pointer33 %4:_(s32) = G_CONSTANT_POOL %const.034 35 ; CHECK: Dst operand 0 must be a pointer36 %5:_(s64) = G_CONSTANT_POOL %const.037 38 ; CHECK-NOT: %639 %6:_(p0) = G_CONSTANT_POOL %const.040...41