1# RUN: llc -mtriple=ppc32-- -run-pass=if-converter -o - -verify-machineinstrs \ 2# RUN: %s | FileCheck %s 3 4--- 5name: testBDZLR 6body: | 7 bb.0.entry: 8 successors: %bb.5(0x40000000), %bb.1(0x40000000) 9 liveins: $r3 10 11 renamable $r4 = LI 0 12 renamable $cr0 = CMPLWI killed renamable $r4, 0 13 BCC 68, renamable $cr0, %bb.5 14 15 bb.1: 16 successors: %bb.2(0x40000000), %bb.5(0x40000000) 17 liveins: $cr0, $r3 18 19 BCC 68, killed renamable $cr0, %bb.5 20 21 bb.2: 22 successors: %bb.3(0x80000000) 23 liveins: $r3 24 25 MTCTRloop killed renamable $r3, implicit-def dead $ctr 26 renamable $r3 = LI 0 27 renamable $r5 = IMPLICIT_DEF 28 renamable $r4 = LI 0 29 30 bb.3: 31 successors: %bb.4(0x7c000000), %bb.5(0x04000000) 32 liveins: $r3, $r4, $r5 33 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 40 41 bb.4: 42 successors: %bb.3(0x80000000) 43 liveins: $r3, $r4 44 45 B %bb.3 46 47 bb.5: 48 BLR implicit $lr, implicit $rm 49 50 51 ; CHECK-LABEL: name: testBDZLR 52 ; CHECK: BDZLR implicit $lr, implicit $rm, implicit $ctr, implicit-def $ctr 53... 54