3 ; RUN: llc -march=r600 -mcpu=SI < %s
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
11 store i32 %0, i32 addrspace(1)* %out