Eliminate LegalizeOps' LegalizedNodes map and have it just call RAUW
[oota-llvm.git] / test / CodeGen / CellSPU / bigstack.ll
1 ; RUN: llc < %s -march=cellspu -o %t1.s
2 ; RUN: grep lqx   %t1.s | count 3
3 ; RUN: grep il    %t1.s | grep -v file | count 5
4 ; RUN: grep stqx  %t1.s | count 1
5
6 define i32 @bigstack() nounwind {
7 entry:
8   %avar = alloca i32                            
9   %big_data = alloca [2048 x i32]                
10   store i32 3840, i32* %avar, align 4
11   br label %return
12
13 return:                                          
14   %retval = load i32* %avar                
15   ret i32 %retval
16 }
17