reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
# RUN: llc -mtriple=arm-apple-ios -run-pass=if-converter %s -o - | FileCheck %s
---
name:            f1
body:             |
  bb.0:

  bb.1:
    Bcc %bb.3, 0, $cpsr

  bb.2:

  bb.3:
    Bcc %bb.1, 0, $cpsr

  bb.4:
  successors: %bb.1
    tBRIND $r1, 14, _
...

# We should only get bb.1 as successor to bb.1. No zero percent probability
# edge from bb.1 to bb.2. There shouldn't even be a bb.2 at all.

# CHECK: body:             |
# CHECK:   bb.0:
# CHECK:     successors: %bb.1(0x80000000)

# CHECK:   bb.1:
# CHECK:     successors: %bb.1(0x80000000)
# CHECK-NOT: %bb.2(0x00000000)
# CHECK:     tBRIND $r1, 1, $cpsr
# CHECK:     B %bb.1

#CHECK-NOT: bb.2: