Mercurial > hg > Members > tobaru > cbc > CbC_llvm
annotate test/CodeGen/ARM/hidden-vis-2.ll @ 0:95c75e76d11b
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | afa8332a0e37 |
rev | line source |
---|---|
0 | 1 ; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=arm-apple-darwin | FileCheck %s |
2 | |
3 @x = weak hidden global i32 0 ; <i32*> [#uses=1] | |
4 | |
5 define i32 @t() nounwind readonly { | |
6 entry: | |
7 ; CHECK-LABEL: t: | |
8 ; CHECK: ldr | |
9 ; CHECK-NEXT: ldr | |
10 %0 = load i32* @x, align 4 ; <i32> [#uses=1] | |
11 ret i32 %0 | |
12 } |