Mercurial > hg > CbC > CbC_llvm
annotate test/Other/2004-08-16-PackedGlobalConstant.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 | afa8332a0e37 |
rev | line source |
---|---|
0 | 1 ; RUN: llvm-as < %s | llvm-dis |
2 | |
3 @foo = global <2 x i32> < i32 0, i32 1 > ; <<2 x i32>*> [#uses=1] | |
4 @bar = external global <2 x i32> ; <<2 x i32>*> [#uses=1] | |
5 | |
6 define void @main() { | |
7 %t0 = load <2 x i32>* @foo ; <<2 x i32>> [#uses=1] | |
8 store <2 x i32> %t0, <2 x i32>* @bar | |
9 ret void | |
10 } | |
11 |