Rewrite tblgen handling of subtarget features so

it follows the order of the enum, not alphabetical.
The motivation is to make -mattr=+ssse3,+sse41
select SSE41 as it ought to.  Added "ignored"
enum values of 0 to PPC and SPU to avoid compiler
warnings.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2008-02-14 23:35:16 +00:00
parent 9b03daa2a3
commit db01c8ba26
5 changed files with 10 additions and 2 deletions

View File

@ -849,6 +849,7 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
bool DarwinAsmPrinter::doInitialization(Module &M) {
static const char *CPUDirectives[] = {
"",
"ppc",
"ppc601",
"ppc602",