Mercurial > hg > CbC > CbC_llvm
comparison test/Assembler/global-addrspace-forwardref.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
5 | 5 |
6 ; CHECK: @a2 = global i8 addrspace(1)* @a | 6 ; CHECK: @a2 = global i8 addrspace(1)* @a |
7 ; CHECK: @a = addrspace(1) global i8 0 | 7 ; CHECK: @a = addrspace(1) global i8 0 |
8 @a2 = global i8 addrspace(1)* @a | 8 @a2 = global i8 addrspace(1)* @a |
9 @a = addrspace(1) global i8 0 | 9 @a = addrspace(1) global i8 0 |
10 | |
11 ; Now test with global IDs instead of global names. | |
12 | |
13 ; CHECK: @a3 = global i8 addrspace(1)* @0 | |
14 ; CHECK: @0 = addrspace(1) global i8 0 | |
15 | |
16 @a3 = global i8 addrspace(1)* @0 | |
17 @0 = addrspace(1) global i8 0 | |
18 |