1 # RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
4 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
6 define void @unconditional_br() { ret void }
7 define void @conditional_br() { ret void }
8 define void @indirect_br() { ret void }
12 # CHECK-LABEL: name: unconditional_br
13 name: unconditional_br
19 # CHECK: successors: %bb.0
29 # CHECK-LABEL: name: conditional_br
35 - { id: 0, class: gpr }
36 - { id: 1, class: gpr }
40 # CHECK: TBNZW %1, 0, %bb.1
44 successors: %bb.0, %bb.1
47 G_BRCOND %0(s1), %bb.1
54 # CHECK-LABEL: name: indirect_br
60 - { id: 0, class: gpr }
64 # CHECK: %0:gpr64 = COPY $x0
68 successors: %bb.0, %bb.1