mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
ce0f9aef12
The fast register allocator is not supposed to work in the optimizing pipeline. It doesn't make sense to compute live intervals, run full copy coalescing, and then run RAFast. Fast register allocation in the optimizing pipeline is better done by RABasic. llvm-svn: 158242
13 lines
290 B
LLVM
13 lines
290 B
LLVM
; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -regalloc=fast -optimize-regalloc=0 -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
|
|
}
|