eliminate the std::vector from StructLayout, allocating the elements immediately
authorChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 20:15:41 +0000 (20:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Feb 2007 20:15:41 +0000 (20:15 +0000)
commit9182e3f2054a98084f2d263bacbddd98d12258bd
tree5df01a3422f2027e00673fbd9cd77e73ac49d623
parentb0c39a3b4d1daa93d339493751976944b6422fd5
eliminate the std::vector from StructLayout, allocating the elements immediately
after the StructLayout object in memory.  This marginally improves locality,
speeding up -load-vn -gcse by ~0.8%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34158 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetData.h
lib/Target/TargetData.cpp