Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / global-addrspace-forwardref.ll
1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
3
4 ; Make sure the address space of forward decls is preserved
5
6 ; CHECK: @a2 = global i8 addrspace(1)* @a
7 ; CHECK: @a = addrspace(1) global i8 0
8 @a2 = global i8 addrspace(1)* @a
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