]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/Mips/largeimm1.ll
Vendor import of llvm release_32 branch r168974 (effectively, 3.2 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / Mips / largeimm1.ll
1 ; RUN: llc -march=mipsel < %s | FileCheck %s
2
3 ; CHECK: lui ${{[0-9]+}}, 49152
4 ; CHECK: lui ${{[0-9]+}}, 16384
5 define void @f() nounwind {
6 entry:
7   %a1 = alloca [1073741824 x i8], align 1
8   %arrayidx = getelementptr inbounds [1073741824 x i8]* %a1, i32 0, i32 1048676
9   call void @f2(i8* %arrayidx) nounwind
10   ret void
11 }
12
13 declare void @f2(i8*)