16 lines · plain
1; RUN: not llc -filetype=obj -mtriple powerpc-ibm-aix-xcoff -o %t.o < %s 2>&1 | FileCheck %s2; RUN: not llc -filetype=asm -mtriple powerpc-ibm-aix-xcoff -o %t.o < %s 2>&1 | FileCheck %s3; RUN: not llc -filetype=obj -mtriple powerpc64-ibm-aix-xcoff -o %t.o < %s 2>&1 | FileCheck %s4; RUN: not llc -filetype=asm -mtriple powerpc64-ibm-aix-xcoff -o %t.o < %s 2>&1 | FileCheck %s5@x= common global i32 0, align 46 7@y= alias i32, ptr @x8 9; Function Attrs: noinline nounwind optnone10define ptr @g() #0 {11entry:12 ret ptr @y13}14; CHECK: LLVM ERROR: Aliases to common variables are not allowed on AIX:15; CHECK-NEXT: Alias attribute for y is invalid because x is common.16