1 ; RUN: llc -mtriple powerpc-ibm-aix-xcoff -verify-machineinstrs < %s | FileCheck %s
2 ; RUN: not --crash llc -filetype=obj -mtriple powerpc-ibm-aix-xcoff \
3 ; RUN: -verify-machineinstrs < %s 2>&1 | \
4 ; RUN: FileCheck %s --check-prefix=OBJ
6 @i = external global i32, align 4 #0
8 ; Function Attrs: noinline nounwind optnone
14 ; CHECK: la 3, i[TD](2)
16 ; CHECK-NEXT: .extern i[TD]
18 ; OBJ: LLVM ERROR: toc-data not yet supported when writing object files.
20 attributes #0 = { "toc-data" }