diff options
author | Eric Christopher <echristo@gmail.com> | 2017-03-21 22:06:18 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-03-21 22:06:18 +0000 |
commit | a776ed1122e48f9ade40c454678226303d8fab52 (patch) | |
tree | 41b34a4ee212e18c147a194338882a9a712347a4 /test/CodeGen/builtins-ppc-p9vector.c | |
parent | 845442e018c91327a550c7df3b0c61dd9d83547c (diff) |
Remove the -faltivec alias option and replace it with -maltivec everywhere.
The alias was only ever used on darwin and had some issues there,
and isn't used in practice much. Also fixes a problem with -mno-altivec
not turning off -maltivec.
Also add a diagnostic for faltivec/fno-altivec that directs users to use
maltivec options and include the altivec.h file explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/builtins-ppc-p9vector.c')
-rw-r--r-- | test/CodeGen/builtins-ppc-p9vector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/builtins-ppc-p9vector.c b/test/CodeGen/builtins-ppc-p9vector.c index 42316970d8..f92df86561 100644 --- a/test/CodeGen/builtins-ppc-p9vector.c +++ b/test/CodeGen/builtins-ppc-p9vector.c @@ -1,9 +1,9 @@ // REQUIRES: powerpc-registered-target -// RUN: %clang_cc1 -faltivec -target-feature +power9-vector \ +// RUN: %clang_cc1 -target-feature +altivec -target-feature +power9-vector \ // RUN: -triple powerpc64-unknown-unknown -emit-llvm %s \ // RUN: -o - | FileCheck %s -check-prefix=CHECK-BE -// RUN: %clang_cc1 -faltivec -target-feature +power9-vector \ +// RUN: %clang_cc1 -target-feature +altivec -target-feature +power9-vector \ // RUN: -triple powerpc64le-unknown-unknown -emit-llvm %s \ // RUN: -o - | FileCheck %s |