1 ; RUN: llc -march=amdgcn -mcpu=kaveri -verify-machineinstrs < %s | FileCheck %s
3 ; CHECK-LABEL: {{^}}test:
4 ; CHECK s_and_saveexec_b64
6 ; CHECK s_or_b64 exec, exec
7 ; CHECK s_andn2_b64 exec, exec
8 ; CHECK s_cbranch_execnz
9 define amdgpu_kernel void @test(i32 %arg, i32 %arg1) {
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
19 bb10: ; preds = %bb10, %bb9