• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2
3;CHECK-NOT: SETE_INT
4;CHECK: CNDE_INT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], 1, literal.x, 2}}
5define void @test(i32 addrspace(1)* %out, i32 addrspace(1)* %in) {
6  %1 = load i32 addrspace(1)* %in
7  %2 = icmp eq i32 %1, 0
8  %3 = select i1 %2, i32 1, i32 2
9  store i32 %3, i32 addrspace(1)* %out
10  ret void
11}
12