summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/tls12.ll
blob: c6f766d4472c2b4fa7910f4c87a3442850b772bc (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 {movzbl	%gs:i@NTPOFF, %eax} %t

@i = thread_local global i8 15

define i8 @f() {
entry:
	%tmp1 = load i8* @i
	ret i8 %tmp1
}
OpenPOWER on IntegriCloud