1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/CodeGen/X86/zero-initialized-in-bss.ll
2020-07-04 23:26:57 -07:00

17 lines
421 B
LLVM

; 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