commit | a5babc8a31efd3bd40e6deec96d0ee1cb14e61eb | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Mon Nov 17 05:50:14 2014 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Mon Nov 17 05:50:14 2014 +0000 |
tree | 20d1207fd795501ee8ffd959302915c827e93226 | |
parent | daa09d03abebc7134e898d7e186c49c8be6a3789 [diff] |
Move register class name strings to a single array in MCRegisterInfo to reduce static table size and number of relocation entries. Indices into the table are stored in each MCRegisterClass instead of a pointer. A new method, getRegClassName, is added to MCRegisterInfo and TargetRegisterInfo to lookup the string in the table. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222118 91177308-0d34-0410-b5e6-96231b3b80d8