commit | 0371cd8b1c0d2101295ca9381a0b437e1f2d8fa2 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Jul 27 00:10:51 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Jul 27 00:10:51 2012 +0000 |
tree | dbac4fa9f697b4013e0a3fb6ac52a36940449f25 | |
parent | 2ca6b3c37498eebf1f729f85cee03aa38ea5bc65 [diff] |
Eliminate the large XXXSubRegTable constant arrays. These tables were indexed by [register][subreg index] which made them, very large and sparse. Replace them with lists of sub-register indexes that match the existing lists of sub-registers. MCRI::getSubReg() becomes a very short linear search, like getSubRegIndex() already was. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160843 91177308-0d34-0410-b5e6-96231b3b80d8