1 # RUN: not --crash llc -o - -mtriple=arm64 -global-isel -run-pass=none \
2 # RUN: -verify-machineinstrs %s 2>&1 | FileCheck %s
3 # REQUIRES: aarch64-registered-target
6 name: test_constant_pool
9 value: 'double 3.250000e+00'
11 - { id: 0, size: 64, alignment: 8 }
13 regBankSelected: false
15 tracksRegLiveness: true
20 ; CHECK: Bad machine code: Too few operands
21 %0:_(p0) = G_CONSTANT_POOL
23 ; CHECK: Bad machine code: Src operand 1 must be a constant pool index
24 %1:_(p0) = G_CONSTANT_POOL 1
26 ; CHECK: Bad machine code: Src operand 1 must be a constant pool index
27 %2:_(p0) = G_CONSTANT_POOL i32 1
29 ; CHECK: Bad machine code: Src operand 1 must be a constant pool index
30 %3:_(p0) = G_CONSTANT_POOL %stack.0
32 ; CHECK: Dst operand 0 must be a pointer
33 %4:_(s32) = G_CONSTANT_POOL %const.0
35 ; CHECK: Dst operand 0 must be a pointer
36 %5:_(s64) = G_CONSTANT_POOL %const.0
39 %6:_(p0) = G_CONSTANT_POOL %const.0