1 # RUN: llc -mtriple=ppc32-- -run-pass=if-converter -o - -verify-machineinstrs \
2 # RUN: %s | FileCheck %s
8 successors: %bb.5(0x40000000), %bb.1(0x40000000)
12 renamable $cr0 = CMPLWI killed renamable $r4, 0
13 BCC 68, renamable $cr0, %bb.5
16 successors: %bb.2(0x40000000), %bb.5(0x40000000)
19 BCC 68, killed renamable $cr0, %bb.5
22 successors: %bb.3(0x80000000)
25 MTCTRloop killed renamable $r3, implicit-def dead $ctr
27 renamable $r5 = IMPLICIT_DEF
31 successors: %bb.4(0x7c000000), %bb.5(0x04000000)
32 liveins: $r3, $r4, $r5
34 renamable $r6 = RLWINM renamable $r4, 3, 0, 28
35 renamable $r4 = ADDIC killed renamable $r4, 1, implicit-def $carry
36 renamable $r5 = ADD4 killed renamable $r5, killed renamable $r6
37 renamable $r6 = ADD4 killed renamable $r6, renamable $r6
38 renamable $r3 = ADDZE killed renamable $r3, implicit-def dead $carry, implicit $carry
39 BDZ %bb.5, implicit-def $ctr, implicit $ctr
42 successors: %bb.3(0x80000000)
48 BLR implicit $lr, implicit $rm
51 ; CHECK-LABEL: name: testBDZLR
52 ; CHECK: BDZLR implicit $lr, implicit $rm, implicit $ctr, implicit-def $ctr