brintos

brintos / llvm-project-archived public Read only

0
0
Text · 905 B · 5740f28 Raw
35 lines · plain
1# RUN: llc -mtriple=x86_64-gnu-linux --passes='print<machine-block-freq>' -filetype=null 2>&1 %s | FileCheck %s2 3---4name:            is_odd5tracksRegLiveness: true6body:             |7  bb.0:8    successors: %bb.2(0x40000000), %bb.1(0x40000000)9    liveins: $edi10  11    %0:gr32 = COPY $edi12    %1:gr32 = COPY killed %013    %4:gr32 = MOV32ri 214    $eax = COPY %115    CDQ implicit-def $eax, implicit-def $edx, implicit $eax16    IDIV32r %4, implicit-def $eax, implicit-def $edx, implicit-def $eflags, implicit $eax, implicit $edx17    %5:gr32 = COPY $edx18    CMP32ri %5, 1, implicit-def $eflags19    JCC_1 %bb.2, 5, implicit $eflags20  21  bb.1:22    %7:gr32 = MOV32ri 123    $eax = COPY %724    RET64 implicit $eax25  26  bb.2:27    %6:gr32 = MOV32r0 implicit-def $eflags28    $eax = COPY %629    RET64 implicit $eax30...31 32# CHECK: block-frequency-info: is_odd33# CHECK:  - BB1: float = 0.534# CHECK:  - BB2: float = 0.535