blob: eafa5c2c2465e07301aa5b8aee29aadfff300fe9 [file] [log] [blame]
Rafael Espindola7b620af2009-02-27 13:37:18 +00001; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
2; RUN: grep {movl %gs:i@NTPOFF, %eax} %t
3
4@i = hidden thread_local global i32 15
5
6define i32 @f() {
7entry:
8 %tmp1 = load i32* @i
9 ret i32 %tmp1
10}