• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff < \
2; RUN: %s | FileCheck %s
3
4; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc64-ibm-aix-xcoff < \
5; RUN: %s | FileCheck %s
6
7@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @foo, i8* null }]
8@llvm.global_dtors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @bar, i8* null }]
9
10define dso_local void @foo() {
11entry:
12  ret void
13}
14
15define dso_local void @bar() {
16entry:
17  ret void
18}
19
20; CHECK-NOT: llvm.global_ctors
21; CHECK-NOT: llvm.global_dtors
22