brintos

brintos / llvm-project-archived public Read only

0
0
Text · 570 B · 90f40d9 Raw
17 lines · plain
1; RUN: not --crash llc -mtriple powerpc-ibm-aix-xcoff < %s 2>&1 | FileCheck %s --check-prefix CHECK-ERROR2; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s --check-prefix CHECK-ERROR3 4@a = global [5 x i16] zeroinitializer, align 2 #05 6; Function Attrs: noinline7define i16 @foo() #1 {8entry:9  %0 = load i16, ptr @a, align 210  ret i16 %011}12 13attributes #0 = { "toc-data" }14attributes #1 = { noinline }15 16; CHECK-ERROR: LLVM ERROR: A GlobalVariable with size larger than a TOC entry is not currently supported by the toc data transformation.17