summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/tls10.ll
blob: 5f022e3992baab052b6da7f7584bcb9831e91cda (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
; RUN: grep {movl	\$i@NTPOFF, %eax} %t
; RUN: grep {addl	%gs:0, %eax} %t

@i = external hidden thread_local global i32

define i32* @f() {
entry:
	ret i32* @i
}
OpenPOWER on IntegriCloud