1 ; RUN: llc < %s -mtriple=aarch64-linux-gnu | FileCheck %s
3 @X = common local_unnamed_addr global i32 0, align 4
8 ; CHECK-NEXT: .word .LBB0_2
10 ; CHECK: .LBB0_2: // Block address taken
12 callbr void asm sideeffect "1:\0A\09.word b, ${0:l}\0A\09", "!i"()
13 to label %cleanup [label %indirect]
19 %retval.0 = phi i32 [ 1, %indirect ], [ 0, %entry ]
23 define void @test2() {
26 %0 = load i32, ptr @X, align 4
28 %tobool = icmp eq i32 %and, 0
29 br i1 %tobool, label %if.end10, label %if.then
33 ; CHECK-NEXT: .word .LBB1_3
34 ; CHECK: .LBB1_3: // Block address taken
35 callbr void asm sideeffect "1:\0A\09.word b, ${0:l}\0A\09", "!i"()
36 to label %if.then4 [label %if.end6]
39 %call5 = tail call i32 @g()
43 %.pre = load i32, ptr @X, align 4
44 %.pre13 = and i32 %.pre, 1
45 %phitmp = icmp eq i32 %.pre13, 0
46 br i1 %phitmp, label %if.end10, label %if.then9
49 ; CHECK: .LBB1_5: // Block address taken
50 callbr void asm sideeffect "", "!i"()
51 to label %if.end10 [label %l_yes]