]> granicus.if.org Git - clang/commit
Remove the -faltivec alias option and replace it with -maltivec everywhere.
authorEric Christopher <echristo@gmail.com>
Tue, 21 Mar 2017 22:06:18 +0000 (22:06 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 21 Mar 2017 22:06:18 +0000 (22:06 +0000)
commita776ed1122e48f9ade40c454678226303d8fab52
tree41b34a4ee212e18c147a194338882a9a712347a4
parent845442e018c91327a550c7df3b0c61dd9d83547c
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
34 files changed:
docs/ClangCommandLineReference.rst
docs/LanguageExtensions.rst
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/Options.td
lib/Basic/Targets.cpp
lib/Driver/ToolChains/Arch/PPC.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/altivec.c
test/CodeGen/builtins-ppc-altivec.c
test/CodeGen/builtins-ppc-crypto-disabled.c
test/CodeGen/builtins-ppc-crypto.c
test/CodeGen/builtins-ppc-error.c
test/CodeGen/builtins-ppc-htm.c
test/CodeGen/builtins-ppc-p8vector.c
test/CodeGen/builtins-ppc-p9vector.c
test/CodeGen/builtins-ppc-quadword.c
test/CodeGen/builtins-ppc-vsx.c
test/CodeGen/ppc64-align-struct.c
test/CodeGen/ppc64-vector.c
test/CodeGen/ppc64le-aggregates.c
test/Driver/ppc-features.cpp
test/Driver/unsupported-faltivec.c [new file with mode: 0644]
test/Headers/altivec-header.c
test/Headers/altivec-intrin.c
test/Parser/altivec-csk-bool.c
test/Parser/altivec.c
test/Parser/cxx-altivec.cpp
test/Parser/vsx.c
test/Sema/altivec-init.c
test/Sema/builtins-ppc.c
test/SemaCXX/altivec.cpp
test/SemaCXX/cxx-altivec.cpp