[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / indirect-hidden.ll
blobeb0302834879a59444d07e89ab05b75ae4f2091a
1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s
3 @var = external global i32
4 @var_hidden = external hidden global i32
6 define i32* @get_var() {
7   ret i32* @var
10 define i32* @get_var_hidden() {
11   ret i32* @var_hidden
14 ; CHECK: .section __DATA,__nl_symbol_ptr,non_lazy_symbol_pointers
16 ; CHECK: .indirect_symbol _var
17 ; CHECK-NEXT: .long 0
19 ; CHECK-NOT: __DATA,__data
21 ; CHECK: .indirect_symbol _var_hidden
22 ; CHECK-NEXT: .long 0