rework the ownership of subloop alias information: instead of
authorChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 17:46:00 +0000 (17:46 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 17:46:00 +0000 (17:46 +0000)
commit4282e32712da220fd97177772e22ec1ee7e50af2
treeaddffe8e4dc346894c3d84afcc5806c17146dd52
parentea1092374cdeea2a4ba66bfdc33e40c0fee9ebe2
rework the ownership of subloop alias information: instead of
keeping them around until the pass is destroyed, keep them
around a) just when useful (not for outer loops) and b) destroy
them right after we use them.  This should reduce memory use
and fixes potential bugs where a loop is deleted and another
loop gets allocated to the same address.

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