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