mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
9ed0a1b065
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180837 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
290 B
LLVM
14 lines
290 B
LLVM
; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -regalloc=fast -optimize-regalloc=0 -relocation-model=pic | FileCheck %s
|
|
; PR4004
|
|
|
|
; CHECK: {{leaq.*TLSGD}}
|
|
; CHECK: {{__tls_get_addr}}
|
|
|
|
@i = thread_local global i32 15
|
|
|
|
define i32 @f() {
|
|
entry:
|
|
%tmp1 = load i32* @i
|
|
ret i32 %tmp1
|
|
}
|