bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/zero-initialized-in-bss.ll
2025-02-14 19:21:04 +01:00

16 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