1; RUN: llc -march=amdgcn -mcpu=kaveri -verify-machineinstrs < %s | FileCheck %s
2
3; CHECK-LABEL: {{^}}test:
4; CHECK s_and_saveexec_b64
5; CHECK s_xor_b64
6; CHECK s_or_b64 exec, exec
7; CHECK s_andn2_b64 exec, exec
8; CHECK s_cbranch_execnz
9define amdgpu_kernel void @test(i32 %arg, i32 %arg1) {
10bb:
11  %tmp = icmp ne i32 %arg, 0
12  %tmp7 = icmp ne i32 %arg1, 0
13  %tmp8 = and i1 %tmp, %tmp7
14  br i1 %tmp8, label %bb9, label %bb11
15
16bb9:                                              ; preds = %bb
17  br label %bb10
18
19bb10:                                             ; preds = %bb10, %bb9
20  br label %bb10
21
22bb11:                                             ; preds = %bb
23  ret void
24}
25