From: Chris Lattner Date: Sun, 2 Oct 2005 07:13:52 +0000 (+0000) Subject: Sort the cpu and features table, so that the alpha backend doesn't fail EVERY X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=080a4b1637ba1156281a2f212dca1b7eb7ec6544;p=oota-llvm.git Sort the cpu and features table, so that the alpha backend doesn't fail EVERY compile with an assertion that the tables are not sorted! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23591 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaSubtarget.cpp b/lib/Target/Alpha/AlphaSubtarget.cpp index 794ecb304ac..15f51c46014 100644 --- a/lib/Target/Alpha/AlphaSubtarget.cpp +++ b/lib/Target/Alpha/AlphaSubtarget.cpp @@ -30,8 +30,8 @@ static const SubtargetFeatureKV AlphaSubTypeKV[] = { { "ev56" , "Select the Alpha EV56 processor", 0 }, { "ev6" , "Select the Alpha EV6 processor", AlphaFeatureFIX }, { "ev67" , "Select the Alpha EV67 processor", AlphaFeatureFIX | AlphaFeatureCIX }, + { "generic", "Select instructions for a generic Alpha processor (EV56)", 0 }, { "pca56" , "Select the Alpha PCA56 processor", 0 }, - { "generic", "Select instructions for a generic Alpha processor (EV56)", 0 } }; /// Length of AlphaSubTypeKV. @@ -40,8 +40,8 @@ static const unsigned AlphaSubTypeKVSize = sizeof(AlphaSubTypeKV) /// Sorted (by key) array of values for CPU features. static SubtargetFeatureKV AlphaFeatureKV[] = { + { "CIX", "Should CIX extentions be used" , AlphaFeatureCIX }, { "FIX" , "Should FIX extentions be used" , AlphaFeatureFIX }, - { "CIX", "Should CIX extentions be used" , AlphaFeatureCIX } }; /// Length of AlphaFeatureKV. static const unsigned AlphaFeatureKVSize = sizeof(AlphaFeatureKV)