Get TargetData once up front and cache as an ivar instead of
authorChris Lattner <sabre@nondot.org>
Wed, 7 Jan 2009 06:34:28 +0000 (06:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Jan 2009 06:34:28 +0000 (06:34 +0000)
commit56c3852fb46b7754ad89b998b5968cff0c3937ee
treec2c90aa31afc09b80c1a5e812119b23864f76412
parentd356a7ee0ed7744857dcf497cb20b0128770fb0f
Get TargetData once up front and cache as an ivar instead of
requerying it all over the place.

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