[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / hidden-vis-2.ll
bloba104f354295d942fc0a6f6b75759a9793b987dd4
1 ; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=arm-apple-darwin | FileCheck %s
3 @x = weak hidden global i32 0           ; <i32*> [#uses=1]
5 define i32 @t() nounwind readonly {
6 entry:
7 ; CHECK-LABEL: t:
8 ; CHECK: ldr
9 ; CHECK-NEXT: ldr
10         %0 = load i32, i32* @x, align 4         ; <i32> [#uses=1]
11         ret i32 %0