summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ppc64-align-struct.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-03-21 22:06:18 +0000
committerEric Christopher <echristo@gmail.com>2017-03-21 22:06:18 +0000
commit758aad76d88000fd9cada032fb4e7afa5e27e61c (patch)
treeba3b9dbd6f72d605db42eaf1544e02d765781fac /clang/test/CodeGen/ppc64-align-struct.c
parent8445cbd1ca964ff490268e0854ecafaf97718639 (diff)
downloadbcm5719-llvm-758aad76d88000fd9cada032fb4e7afa5e27e61c.tar.gz
bcm5719-llvm-758aad76d88000fd9cada032fb4e7afa5e27e61c.zip
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. llvm-svn: 298449
Diffstat (limited to 'clang/test/CodeGen/ppc64-align-struct.c')
-rw-r--r--clang/test/CodeGen/ppc64-align-struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/ppc64-align-struct.c b/clang/test/CodeGen/ppc64-align-struct.c
index 6a04d0cd84f..5894a6aeb37 100644
--- a/clang/test/CodeGen/ppc64-align-struct.c
+++ b/clang/test/CodeGen/ppc64-align-struct.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -faltivec -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -target-feature +altivec -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
#include <stdarg.h>
OpenPOWER on IntegriCloud