mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
6a6d9e48dd
Some architectures (like x86) don't require it. This fixes bug 3779. llvm-svn: 67132
11 lines
200 B
LLVM
11 lines
200 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
|
|
; RUN: grep {movb %gs:i@NTPOFF, %al} %t
|
|
|
|
@i = thread_local global i8 15
|
|
|
|
define i8 @f() {
|
|
entry:
|
|
%tmp1 = load i8* @i
|
|
ret i8 %tmp1
|
|
}
|