revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / X86 / hidden-vis-4.ll
bloba8aede52accdf154592cf8a7a50481dad8c0cb75
1 ; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s
3 @x = common hidden global i32 0         ; <i32*> [#uses=1]
5 define i32 @t() nounwind readonly {
6 entry:
7 ; CHECK: t:
8 ; CHECK: movl _x, %eax
9 ; CHECK: .comm _x,4
10         %0 = load i32* @x, align 4              ; <i32> [#uses=1]
11         ret i32 %0