brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 744c61c Raw
35 lines · plain
1# RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -run-pass=if-converter %s -o - | FileCheck %s2---3name:           foo4body:           |5  bb.0:6  liveins: $x0, $x37  successors: %bb.1(0x40000000), %bb.2(0x40000000)8 9  dead renamable $x3 = ANDI8_rec killed renamable $x3, 1, implicit-def dead $cr0, implicit-def $cr0gt10  $cr2lt = CROR $cr0gt, $cr0gt11  BCn killed renamable $cr2lt, %bb.212  B %bb.113 14  bb.1:15    renamable $x3 = LIS8 409616    MTLR8 $x0, implicit-def $lr817    BLR8 implicit $lr8, implicit $rm, implicit $x318 19  bb.2:20    renamable $x3 = LIS8 409621    MTLR8 $x0, implicit-def $lr822    BLR8 implicit $lr8, implicit $rm, implicit $x323...24 25# Diamond testcase with equivalent branches terminating in returns.26 27# CHECK: body:             |          28# CHECK:  bb.0:29# CHECK:    dead renamable $x3 = ANDI8_rec killed renamable $x3, 1, implicit-def dead $cr0, implicit-def $cr0gt30# CHECK:    $cr2lt = CROR $cr0gt, $cr0gt31# CHECK:    renamable $x3 = LIS8 409632# CHECK:    MTLR8 $x0, implicit-def $lr833# CHECK:    BLR8 implicit $lr8, implicit $rm, implicit $x334 35