1 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
3 ; SI-LABEL: {{^}}sext_bool_icmp_ne:
5 ; SI-NEXT: v_cndmask_b32
7 ; SI-NOT: v_cndmask_b32
9 define void @sext_bool_icmp_ne(i1 addrspace(1)* %out, i32 %a, i32 %b) nounwind {
10 %icmp0 = icmp ne i32 %a, %b
11 %ext = sext i1 %icmp0 to i32
12 %icmp1 = icmp ne i32 %ext, 0
13 store i1 %icmp1, i1 addrspace(1)* %out