Debian Codegraph @

llvm/test/CodeGen/PowerPC/toc-data-no-data-sections.ll

raw
1 ; RUN: llc -mtriple powerpc64-ibm-aix-xcoff -data-sections=false -verify-machineinstrs < %s | FileCheck %s
2
3 @a1 = global i32 0, align 4 #0
4
5 define void @foo() {
6 entry:
7 store i32 1, ptr @a1, align 4
8 ret void
9 }
10
11 attributes #0 = { "toc-data" }
12
13 ; CHECK: .toc
14 ; CHECK-NEXT: .csect a1[TD],2
15 ; CHECK-NEXT: .globl a1[TD]
16 ; CHECK-NEXT: .align 2
17 ; CHECK-NOT: a1[TD]:
18 ; CHECK-NEXT: .vbyte 4, 0