aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/zero-initialized-in-bss.ll
blob: 2feee54856e2c3cfab8354783b62bcc052cd0605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc < %s -mtriple=x86_64 | FileCheck %s --check-prefix=BSS

; BSS:      .bss
; BSS-NEXT: .globl a
; BSS:      .section .tbss,"awT",@nobits
; BSS-NEXT: .globl b

; RUN: llc < %s -mtriple=x86_64 -nozero-initialized-in-bss | FileCheck %s --check-prefix=DATA

; DATA:      .data
; DATA-NEXT: .globl a
; DATA:      .section .tdata,"awT",@progbits
; DATA-NEXT: .globl b

@a = global i32 0
@b = thread_local global i32 0