blob: 17ea996aa455996cfab09dad7644b7e805d3b909 [file] [log] [blame]
Rafael Espindola53ec6be2009-03-11 22:40:04 +00001; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
Rafael Espindola0c9872b2009-03-17 23:43:59 +00002; RUN: grep {movb %gs:i@NTPOFF, %al} %t
Rafael Espindola53ec6be2009-03-11 22:40:04 +00003
4@i = thread_local global i8 15
5
6define i8 @f() {
7entry:
8 %tmp1 = load i8* @i
9 ret i8 %tmp1
10}