[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / available_externally.ll
blob055074738e5c255dd6e35c332fdcfbca1c83621c
1 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic | FileCheck %s
2 ; rdar://9027648
4 @A = available_externally hidden constant i32 1
5 @B = external hidden constant i32
7 define i32 @t1() {
8   %tmp = load i32, i32* @A
9   store i32 %tmp, i32* @B
10   ret i32 %tmp
13 ; CHECK:      L_A$non_lazy_ptr:
14 ; CHECK-NEXT: .indirect_symbol _A
15 ; CHECK-NEXT: .long 0
16 ; CHECK:      L_B$non_lazy_ptr:
17 ; CHECK-NEXT: .indirect_symbol _B
18 ; CHECK-NEXT: .long 0