mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 07:52:55 +01:00
8313cf1cf4
llvm-svn: 127366
13 lines
269 B
LLVM
13 lines
269 B
LLVM
; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -regalloc=fast -relocation-model=pic > %t2
|
|
; RUN: grep {leaq.*TLSGD} %t2
|
|
; RUN: grep {__tls_get_addr} %t2
|
|
; PR4004
|
|
|
|
@i = thread_local global i32 15
|
|
|
|
define i32 @f() {
|
|
entry:
|
|
%tmp1 = load i32* @i
|
|
ret i32 %tmp1
|
|
}
|