mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
7eb72dc5f2
Tested by bootstrapping llvm-gcc and using that to build llvm. llvm-svn: 68645
11 lines
227 B
LLVM
11 lines
227 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux-gnu > %t
|
|
; RUN: grep {movl \$i@NTPOFF, %eax} %t
|
|
; RUN: grep {addl %gs:0, %eax} %t
|
|
|
|
@i = external hidden thread_local global i32
|
|
|
|
define i32* @f() {
|
|
entry:
|
|
ret i32* @i
|
|
}
|