R600/SI: Move SIFixSGPRCopies to inst selector passes
[oota-llvm.git] / test / CodeGen / R600 / basic-branch.ll
1 ; XFAIL: *
2 ; RUN: llc -O0 -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck %s
3
4 ; CHECK-LABEL: {{^}}test_branch(
5 define void @test_branch(i32 addrspace(1)* noalias %out, i32 addrspace(1)* noalias %in, i32 %val) nounwind {
6   %cmp = icmp ne i32 %val, 0
7   br i1 %cmp, label %store, label %end
8
9 store:
10   store i32 222, i32 addrspace(1)* %out
11   ret void
12
13 end:
14   ret void
15 }