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 | 758aad76d88000fd9cada032fb4e7afa5e27e61c (patch) | |
| tree | ba3b9dbd6f72d605db42eaf1544e02d765781fac /clang/test/Sema/altivec-init.c | |
| parent | 8445cbd1ca964ff490268e0854ecafaf97718639 (diff) | |
| download | bcm5719-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/Sema/altivec-init.c')
| -rw-r--r-- | clang/test/Sema/altivec-init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Sema/altivec-init.c b/clang/test/Sema/altivec-init.c index 973aab15d46..1c20450a6d0 100644 --- a/clang/test/Sema/altivec-init.c +++ b/clang/test/Sema/altivec-init.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -triple=powerpc-apple-darwin8 -faltivec -verify -pedantic -fsyntax-only +// RUN: %clang_cc1 %s -triple=powerpc-apple-darwin8 -target-feature +altivec -verify -pedantic -fsyntax-only typedef int v4 __attribute((vector_size(16))); typedef short v8 __attribute((vector_size(16))); @@ -23,8 +23,8 @@ v8 foo(void) { return (v8){0, 1, 2, 3, 1, 2, 3, 4}; - // FIXME: test that (type)(fn)(args) still works with -faltivec - // FIXME: test that c++ overloaded commas still work -faltivec + // FIXME: test that (type)(fn)(args) still works with -maltivec + // FIXME: test that c++ overloaded commas still work -maltivec } void __attribute__((__overloadable__)) f(v4 a) |

