Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/Mips/small-section-reserve-gp.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 60c9769439b8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: llc -mtriple=mipsel-sde-elf -march=mipsel -relocation-model=static < %s \ | |
2 ; RUN: | FileCheck %s | |
3 | |
4 @i = internal unnamed_addr global i32 0, align 4 | |
5 | |
6 define i32 @geti() nounwind readonly { | |
7 entry: | |
8 ; CHECK: lw ${{[0-9]+}}, %gp_rel(i)($gp) | |
9 %0 = load i32* @i, align 4 | |
10 ret i32 %0 | |
11 } | |
12 |