diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-02 07:13:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-02 07:13:52 +0000 |
commit | 080a4b1637ba1156281a2f212dca1b7eb7ec6544 (patch) | |
tree | c783f573e5a6d3b0c25076bffd7ff62ad0c889bc /lib/Target/Alpha/AlphaSubtarget.cpp | |
parent | a3638c0f1fd13d7c685de3f7ead39b046a604d84 (diff) | |
download | external_llvm-080a4b1637ba1156281a2f212dca1b7eb7ec6544.zip external_llvm-080a4b1637ba1156281a2f212dca1b7eb7ec6544.tar.gz external_llvm-080a4b1637ba1156281a2f212dca1b7eb7ec6544.tar.bz2 |
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
Diffstat (limited to 'lib/Target/Alpha/AlphaSubtarget.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaSubtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaSubtarget.cpp b/lib/Target/Alpha/AlphaSubtarget.cpp index 794ecb3..15f51c4 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) |