882a05149abdee8366c0a2b433ec76eba918a33c
[oota-llvm.git] / test / CodeGen / R600 / large-alloca.ll
1 ; XFAIL: *
2 ; RUN: llc -march=r600 -mcpu=SI < %s
3
4 define void @large_alloca(i32 addrspace(1)* %out, i32 %x) nounwind {
5   %large = alloca [256 x i32], align 4
6   %gep = getelementptr [256 x i32]* %large, i32 0, i32 255
7   store i32 %x, i32* %gep
8   ret void
9 }
10