mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-10 01:10:48 +00:00
99534bb81a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110576 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
471 B
LLVM
18 lines
471 B
LLVM
; RUN: llc < %s -march=cellspu -o %t1.s
|
|
; RUN: grep lqx %t1.s | count 3
|
|
; RUN: grep il %t1.s | grep -v file | count 5
|
|
; RUN: grep stqx %t1.s | count 1
|
|
|
|
define i32 @bigstack() nounwind {
|
|
entry:
|
|
%avar = alloca i32
|
|
%big_data = alloca [2048 x i32]
|
|
store i32 3840, i32* %avar, align 4
|
|
br label %return
|
|
|
|
return:
|
|
%retval = load i32* %avar
|
|
ret i32 %retval
|
|
}
|
|
|