brintos

brintos / llvm-project-archived public Read only

0
0
Text · 740 B · 659b0a8 Raw
25 lines · plain
1; AIX's support for llvm-mc does not have enough support for directives like .csect2; so we can't use the tool. llvm-jitlink -check is not available as it requries3; implementation of registerXCOFFGraphInfo. Will revisit this testcase once support4; is more complete.5 6; RUN: mkdir -p %t7; RUN: llc --filetype=obj -o %t/xcoff_ppc64.o %s 8; RUN: llvm-jitlink -noexec -num-threads=0 -triple=powerpc64-ibm-aix %t/xcoff_ppc64.o9 10target datalayout = "E-m:a-Fi64-i64:64-i128:128-n32:64-S128-v256:256:256-v512:512:512"11target triple = "powerpc64-ibm-aix"12 13define i32 @main() #0 {14entry:15  ret i32 016}17 18attributes #0 = { "target-cpu"="pwr7" }19 20!llvm.module.flags = !{!0, !1}21 22!0 = !{i32 1, !"wchar_size", i32 4}23!1 = !{i32 8, !"PIC Level", i32 2}24 25