blob: c29f6adacd2026478e8e16e4fde935bb219863e8 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu > %t
Rafael Espindola0c9872b2009-03-17 23:43:59 +00002; RUN: grep {movb %gs:i@NTPOFF, %al} %t
Dan Gohman0a063102009-09-08 23:54:48 +00003; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu > %t2
Rafael Espindolab93a5122009-04-13 13:02:49 +00004; RUN: grep {movb %fs:i@TPOFF, %al} %t2
Rafael Espindola53ec6be2009-03-11 22:40:04 +00005
6@i = thread_local global i8 15
7
8define i8 @f() {
9entry:
10 %tmp1 = load i8* @i
11 ret i8 %tmp1
12}