| commit | 56938af9e287e08ef62823b4e9c72b2303ad6544 | [log] [tgz] |
|---|---|---|
| author | Jim Grosbach <grosbach@apple.com> | Thu Sep 11 17:05:32 2008 +0000 |
| committer | Jim Grosbach <grosbach@apple.com> | Thu Sep 11 17:05:32 2008 +0000 |
| tree | aa4b1c9d86e5733eeafb2bd99bc129f2a7b0d59f | |
| parent | e30b36fe37c2fb0659cf71c3f223806fedfa9474 [diff] |
lib/Target/SubtargetFeature.cpp asserts that the FeatureKV[] table be sorted by its first field, but TableGen doesn't actually enforce creating it that way. TableGen sorts the records that will be used to create it by the names of the records, not the Name field of those records. This patch corrects the sort to use the "Name" field of the record as the sort key. llvm-svn: 56106