1 ;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2 ;CHECK: SETE_INT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
4 define void @test(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %in) {
5 %b_ptr = getelementptr <4 x i32> addrspace(1)* %in, i32 1
6 %a = load <4 x i32> addrspace(1) * %in
7 %b = load <4 x i32> addrspace(1) * %b_ptr
8 %result = icmp eq <4 x i32> %a, %b
9 %sext = sext <4 x i1> %result to <4 x i32>
10 store <4 x i32> %sext, <4 x i32> addrspace(1)* %out