1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2 # RUN: llc -mtriple arm-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
9 tracksRegLiveness: true
14 isTargetSpecific: false
17 ; CHECK-LABEL: name: get_const
18 ; CHECK: [[LDRcp:%[0-9]+]]:gpr = LDRcp %const.0, 0, 14 /* CC::al */, $noreg :: (load (s32) from constant-pool)
19 ; CHECK-NEXT: $r0 = COPY [[LDRcp]]
20 ; CHECK-NEXT: MOVPCLR 14 /* CC::al */, $noreg, implicit $r0
21 %1:gprb(p0) = G_CONSTANT_POOL %const.0
22 %0:gprb(s32) = G_LOAD %1(p0) :: (load (s32) from constant-pool)
24 MOVPCLR 14 /* CC::al */, $noreg, implicit $r0