aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-10 23:46:13 +0000
committerChris Lattner <sabre@nondot.org>2004-01-10 23:46:13 +0000
commita14b0d441dee43e5dc92aa450e65628d28a5f4df (patch)
tree4220276b6a8e7429f692e4bc7d2038b32b99b729 /lib/CodeGen/TwoAddressInstructionPass.cpp
parent91d7efbf4b786385e0d5d36259cb6a38e917eba8 (diff)
Check in two changes:
The first change (which is disabled) compactifies all of the function constant pools into the global constant pool, in an attempt to reduce the amount of duplication and overhead. Unfortunately, as the comment indicates, this is not yet a win, so it is disabled. The second change sorts the typeid's so that those types that can be used by instructions in the program appear earlier in the table than those that cannot (such as structures and arrays). This causes the instructions to be able to use the dense encoding more often, saving about 5K on 254.gap. This is only a .65% savings though, unfortunately. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions