Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/Mips/small-section-reserve-gp.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | 60c9769439b8 |
line wrap: on
line source
; RUN: llc -mtriple=mipsel-sde-elf -march=mipsel -relocation-model=static < %s \ ; RUN: | FileCheck %s @i = internal unnamed_addr global i32 0, align 4 define i32 @geti() nounwind readonly { entry: ; CHECK: lw ${{[0-9]+}}, %gp_rel(i)($gp) %0 = load i32* @i, align 4 ret i32 %0 }