1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -run-pass=arm-pseudo -verify-machineinstrs %s -o - | FileCheck %s
4 target triple = "thumbv7---gnueabi"
7 define i32 @test1(i32 %x) {
15 tracksRegLiveness: true
17 - { reg: '$r0', virtual-reg: '' }
18 - { reg: '$r0_r1', virtual-reg: '' }
23 ; CHECK-LABEL: name: test1
24 ; CHECK: liveins: $r0, $r0_r1
26 ; CHECK-NEXT: $r0 = t2LDRpci @var, 14 /* CC::al */, $noreg, implicit-def $r0_r1
27 ; CHECK-NEXT: $r0 = tPICADD $r0, 0, implicit-def $r0_r1
28 ; CHECK-NEXT: BX_RET 14 /* CC::al */, $noreg, implicit $r0
29 $r0 = t2LDRpci_pic @var, 0, implicit-def $r0_r1
30 BX_RET 14, $noreg, implicit $r0