1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2 # RUN: llc -mtriple arm-- -run-pass=legalizer %s -o - | FileCheck %s
9 tracksRegLiveness: true
12 ; CHECK-LABEL: name: get_const
13 ; CHECK: [[CONSTANT_POOL:%[0-9]+]]:_(p0) = G_CONSTANT_POOL %const.0
14 ; CHECK-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[CONSTANT_POOL]](p0) :: (load (s32) from constant-pool)
15 ; CHECK-NEXT: $r0 = COPY [[LOAD]](s32)
16 ; CHECK-NEXT: MOVPCLR 14 /* CC::al */, $noreg, implicit $r0
17 %0:_(s32) = G_CONSTANT i32 287454020
19 MOVPCLR 14 /* CC::al */, $noreg, implicit $r0