[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaSubtarget.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 2 00:14:04 PDT 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaSubtarget.cpp updated: 1.2 -> 1.3
---
Log message:
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!
---
Diffs of the changes: (+2 -2)
AlphaSubtarget.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaSubtarget.cpp
diff -u llvm/lib/Target/Alpha/AlphaSubtarget.cpp:1.2 llvm/lib/Target/Alpha/AlphaSubtarget.cpp:1.3
--- llvm/lib/Target/Alpha/AlphaSubtarget.cpp:1.2 Fri Sep 30 15:24:38 2005
+++ llvm/lib/Target/Alpha/AlphaSubtarget.cpp Sun Oct 2 02:13:52 2005
@@ -30,8 +30,8 @@
{ "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 @@
/// 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)
More information about the llvm-commits
mailing list