[Driver][PowerPC] Move powerpcspe logic from cc1 to Driver
authorFangrui Song <maskray@google.com>
Thu, 9 Jan 2020 04:43:57 +0000 (20:43 -0800)
committerFangrui Song <maskray@google.com>
Fri, 10 Jan 2020 19:43:17 +0000 (11:43 -0800)
commitba91dffafe4d348b469d8ae2b7b1cd00754f72f1
tree68e4d4e3bd164f163975b4ea8a4e202f99bfb2a1
parentf28972facc1fce9589feab9803e3e8cfad01891c
[Driver][PowerPC] Move powerpcspe logic from cc1 to Driver

Follow-up of D72014. It is more appropriate to use a target
feature instead of a SubTypeArch to express the difference.

Reviewed By: #powerpc, jhibbits

Differential Revision: https://reviews.llvm.org/D72433
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Driver/ToolChains/Arch/PPC.cpp
clang/test/Driver/ppc-features.cpp
clang/test/Preprocessor/init.c