brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 3572ce8 Raw
54 lines · plain
1# RUN: llc -mtriple=ppc32-- -run-pass=if-converter -o - -verify-machineinstrs \2# RUN:   %s | FileCheck %s3 4---5name:            testBDZLR6body:             |7  bb.0.entry:8    successors: %bb.5(0x40000000), %bb.1(0x40000000)9    liveins: $r310  11    renamable $r4 = LI 012    renamable $cr0 = CMPLWI killed renamable $r4, 013    BCC 68, renamable $cr0, %bb.514  15  bb.1:16    successors: %bb.2(0x40000000), %bb.5(0x40000000)17    liveins: $cr0, $r318  19    BCC 68, killed renamable $cr0, %bb.520  21  bb.2:22    successors: %bb.3(0x80000000)23    liveins: $r324  25    MTCTRloop killed renamable $r3, implicit-def dead $ctr26    renamable $r3 = LI 027    renamable $r5 = IMPLICIT_DEF28    renamable $r4 = LI 029  30  bb.3:31    successors: %bb.4(0x7c000000), %bb.5(0x04000000)32    liveins: $r3, $r4, $r533  34    renamable $r6 = RLWINM renamable $r4, 3, 0, 2835    renamable $r4 = ADDIC killed renamable $r4, 1, implicit-def $carry36    renamable $r5 = ADD4 killed renamable $r5, killed renamable $r637    renamable $r6 = ADD4 killed renamable $r6, renamable $r638    renamable $r3 = ADDZE killed renamable $r3, implicit-def dead $carry, implicit $carry39    BDZ %bb.5, implicit-def $ctr, implicit $ctr40  41  bb.4:42    successors: %bb.3(0x80000000)43    liveins: $r3, $r444  45    B %bb.346  47  bb.5:48    BLR implicit $lr, implicit $rm49 50 51  ; CHECK-LABEL: name: testBDZLR52  ; CHECK: BDZLR implicit $lr, implicit $rm, implicit $ctr, implicit-def $ctr53...54