add an abbrev for loads. This shrinks the function block about 50K, from:
authorChris Lattner <sabre@nondot.org>
Sat, 5 May 2007 07:44:49 +0000 (07:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 May 2007 07:44:49 +0000 (07:44 +0000)
commit440168b00e9739760ae7e1e49191bdfa0ffee4cf
tree65383636be15c09081075800c7419eb9a63f1833
parenta0f1ecc45edd74adcdc7633b76b123e4735ec8e2
add an abbrev for loads.  This shrinks the function block about 50K, from:

  Block ID #12 (FUNCTION_BLOCK):
      Num Instances: 2344
         Total Size: 8.8434e+06b/1.10542e+06B/276356W
          % of file: 35.6726
       Average Size: 3772.78b/471.598B/117.899W
  Tot/Avg SubBlocks: 4065/1.73422
    Tot/Avg Abbrevs: 0/0
    Tot/Avg Records: 128487/54.8153
      % Abbrev Recs: 0

to:

 Block ID #12 (FUNCTION_BLOCK):
      Num Instances: 2344
         Total Size: 8.44518e+06b/1.05565e+06B/263912W
          % of file: 34.6203
       Average Size: 3602.89b/450.362B/112.59W
  Tot/Avg SubBlocks: 4065/1.73422
    Tot/Avg Abbrevs: 0/0
    Tot/Avg Records: 128487/54.8153
      % Abbrev Recs: 22.2077

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36779 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp