Add testcase for r127032

llvm-svn: 127033
This commit is contained in:
Bruno Cardoso Lopes 2011-03-04 20:48:39 +00:00
parent a744ef3f90
commit d631599e38
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
; RUN: llc -march=mipsel < %s | FileCheck %s
; CHECK: lui $at, 49152
; CHECK: lui $at, 16384
define void @f() nounwind {
entry:
%a1 = alloca [1073741824 x i8], align 1
%arrayidx = getelementptr inbounds [1073741824 x i8]* %a1, i32 0, i32 1048676
call void @f2(i8* %arrayidx) nounwind
ret void
}
declare void @f2(i8*)