llvm.org GIT mirror llvm / 650af5d
Add testcase for r127032 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127033 91177308-0d34-0410-b5e6-96231b3b80d8 Bruno Cardoso Lopes 9 years ago
1 changed file(s) with 13 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llc -march=mipsel < %s | FileCheck %s
1
2 ; CHECK: lui $at, 49152
3 ; CHECK: lui $at, 16384
4 define void @f() nounwind {
5 entry:
6 %a1 = alloca [1073741824 x i8], align 1
7 %arrayidx = getelementptr inbounds [1073741824 x i8]* %a1, i32 0, i32 1048676
8 call void @f2(i8* %arrayidx) nounwind
9 ret void
10 }
11
12 declare void @f2(i8*)