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