Cache the size of the vector instead of calling .size() all over the place.
authorBill Wendling <isanbard@gmail.com>
Tue, 31 Jan 2012 06:57:53 +0000 (06:57 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 31 Jan 2012 06:57:53 +0000 (06:57 +0000)
commit5d8ab0f02b3af1a19b46ccc6aa4782451e9dab8b
tree76134a0b76b3de60cc539d5ae23b43419ec1d7f1
parentcac50c5ab8bc2e8a55eb91a4b36d46e1c20c9c64
Cache the size of the vector instead of calling .size() all over the place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149368 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp