diff options
author | Karl Schimpf <kschimpf@google.com> | 2013-05-20 16:05:30 -0700 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2013-05-20 16:05:30 -0700 |
commit | 1046c286a37c082562a348eb6521c71ca0b3ff75 (patch) | |
tree | 52af4ee1382d692f8bc2c07dc59b772100ee7fa7 /lib/Bitcode/Reader/BitReader.cpp | |
parent | df0f355cb3e96368db367b9edb9bb851cffacbcc (diff) |
Create type IDs based on reference counts.
Create type IDs based on number of references, rather than first reached.
This is done so that fewer bits are used to encode types that are commonly
used.
Note that this cuts the size of the generate bitcode file by about 1.5%, with
no effect on the reader, since it only changes the order type ID's are created.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3405
R=jvoung@chromium.org
Review URL: https://codereview.chromium.org/14495008
Diffstat (limited to 'lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions