1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
9 tracksRegLiveness: true
11 ; CHECK-LABEL: name: test
13 ; CHECK-NEXT: successors: %bb.2(0x40000000), %bb.1(0x40000000)
14 ; CHECK-NEXT: liveins: $w0, $w1
16 ; CHECK-NEXT: [[MOVi32imm:%[0-9]+]]:gpr32 = MOVi32imm 145185
17 ; CHECK-NEXT: TBNZW [[MOVi32imm]], 0, %bb.2
21 ; CHECK-NEXT: successors: %bb.3(0x80000000)
23 ; CHECK-NEXT: $w5 = COPY [[MOVi32imm]]
27 ; CHECK-NEXT: successors: %bb.3(0x80000000)
29 ; CHECK-NEXT: [[ADDWrr:%[0-9]+]]:gpr32 = ADDWrr [[MOVi32imm]], [[MOVi32imm]]
30 ; CHECK-NEXT: $w3 = COPY [[ADDWrr]]
34 ; CHECK-NEXT: RET_ReallyLR
36 successors: %bb.4(0x40000000), %bb.3(0x40000000)
39 %35:gpr(s32) = G_CONSTANT i32 145185
40 G_BRCOND %35(s32), %bb.4
44 successors: %bb.5(0x80000000)
46 %17:gpr(s32) = G_CONSTANT_FOLD_BARRIER %35
51 successors: %bb.5(0x80000000)
53 %23:gpr(s32) = G_ADD %35, %35