diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-27 00:10:51 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-27 00:10:51 +0000 |
commit | 0371cd8b1c0d2101295ca9381a0b437e1f2d8fa2 (patch) | |
tree | dbac4fa9f697b4013e0a3fb6ac52a36940449f25 /lib/Transforms/Utils/BasicBlockUtils.cpp | |
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
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions