When we turn on vsx it should also turn on altivec explicitly, same
authorEric Christopher <echristo@gmail.com>
Sat, 15 Apr 2017 06:15:00 +0000 (06:15 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 15 Apr 2017 06:15:00 +0000 (06:15 +0000)
commitd26d8839d8dd4b0513ca6251ab8f341149446c69
tree05e9a7af829d31be3508ec184f2fd54c06f7d344
parent908ed7f20c425bf1bd7915f18d5d1408d2e8bb28
When we turn on vsx it should also turn on altivec explicitly, same
with disabling it as well as disabling all vsx specific features when
turning off altivec.

Fixes PR32663.

llvm-svn: 300395
clang/lib/Basic/Targets.cpp
clang/test/Preprocessor/predefined-arch-macros.c