clang itself. This dates back to clang's early days and while it looks like some of it is still used (for kext for example), other parts are probably dead. Remove the -ccc-clang-archs option and associated code. I don't think there is any remaining setup where clang doesn't support an architecture but it can expect an working gcc cross compiler to be available. A nice side effect is that tests no longer need to differentiate architectures that are included in production builds of clang and those that are not. llvm-svn: 165545
16 lines
970 B
C++
16 lines
970 B
C++
// Check that we error when -faltivec is specified on non-ppc platforms.
|
|
|
|
// RUN: %clang -target powerpc-unk-unk -faltivec -fsyntax-only %s
|
|
// RUN: %clang -target powerpc64-linux-gnu -faltivec -fsyntax-only %s
|
|
// RUN: %clang -target powerpc64-linux-gnu -maltivec -fsyntax-only %s
|
|
|
|
// RUN: %clang -target i386-pc-win32 -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -target x86_64-unknown-freebsd -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -target armv6-apple-darwin -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -target armv7-apple-darwin -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -target mips-linux-gnu -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -target mips64-linux-gnu -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
// RUN: %clang -target sparc-unknown-solaris -faltivec -fsyntax-only %s 2>&1 | FileCheck %s
|
|
|
|
// CHECK: invalid argument '-faltivec' only allowed with 'ppc/ppc64'
|