• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s | FileCheck %s
2target datalayout = "E-m:e-i64:64-n32:64"
3target triple = "powerpc64-bgq-linux"
4
5declare zeroext i1 @ri1()
6declare void @se1()
7declare void @se2()
8
9define void @test() #0 {
10entry:
11  %b = call zeroext i1 @ri1()
12  br label %next
13
14; CHECK-LABEL: @test
15; CHECK: bl ri1
16; CHECK-NEXT: nop
17; CHECK: andi. 3, 3, 1
18
19next:
20  br i1 %b, label %case1, label %case2
21
22case1:
23  call void @se1()
24  br label %end
25
26case2:
27  call void @se2()
28  br label %end
29
30end:
31  ret void
32
33; CHECK: blr
34}
35
36attributes #0 = { noinline optnone }
37
38