xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/hidden-vis-4.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s
2
3@x = common hidden global i32 0		; <i32*> [#uses=1]
4
5define i32 @t() nounwind readonly {
6entry:
7; CHECK-LABEL: t:
8; CHECK: movl _x, %eax
9; CHECK: .comm _x,4
10	%0 = load i32, i32* @x, align 4		; <i32> [#uses=1]
11	ret i32 %0
12}
13