llvm/test/CodeGen/PowerPC/aix-xcoff-tls-rename.ll
raw| 1 | ; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -mcpu=pwr4 \ |
| 2 | ; RUN: -mattr=-altivec -data-sections=false -xcoff-traceback-table=false < %s | FileCheck %s |
| 3 | |
| 4 | ; CHECK: .extern .__tls_get_addr[PR] |
| 5 | ; CHECK-NEXT: .csect .tdata[TL],2 |
| 6 | ; CHECK-NEXT: .globl _Renamed..24f_f # @"f$f" |
| 7 | ; CHECK-NEXT: .rename _Renamed..24f_f,"f$f" |
| 8 | |
| 9 | @"f$f" = thread_local global i32 10, align 4 |
| 10 | |
| 11 | define void @fun() { |
| 12 | entry: |
| 13 | store i32 1, ptr @"f$f", align 4 |
| 14 | ret void |
| 15 | } |