mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
11 lines
256 B
LLVM
11 lines
256 B
LLVM
|
; XFAIL: *
|
||
|
; RUN: llc -march=r600 -mcpu=SI < %s
|
||
|
|
||
|
define void @large_alloca(i32 addrspace(1)* %out, i32 %x) nounwind {
|
||
|
%large = alloca [256 x i32], align 4
|
||
|
%gep = getelementptr [256 x i32]* %large, i32 0, i32 255
|
||
|
store i32 %x, i32* %gep
|
||
|
ret void
|
||
|
}
|
||
|
|