R600/SI: Fix weird CHECK-DAG usage
[oota-llvm.git] / test / CodeGen / R600 / large-alloca.ll
1 ; XFAIL: *
2 ; REQUIRES: asserts
3 ; RUN: llc -march=r600 -mcpu=SI < %s
4
5 define void @large_alloca(i32 addrspace(1)* %out, i32 %x, i32 %y) nounwind {
6   %large = alloca [8192 x i32], align 4
7   %gep = getelementptr [8192 x i32]* %large, i32 0, i32 8191
8   store i32 %x, i32* %gep
9   %gep1 = getelementptr [8192 x i32]* %large, i32 0, i32 %y
10   %0 = load i32* %gep1
11   store i32 %0, i32 addrspace(1)* %out
12   ret void
13 }
14