Fix LICM's memory promotion optimization to preserve TBAA tags when
authorChris Lattner <sabre@nondot.org>
Mon, 31 Dec 2012 08:37:17 +0000 (08:37 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 31 Dec 2012 08:37:17 +0000 (08:37 +0000)
commit503fc1c488f6c67cabe565bdc979dcd4d889ebd3
tree2bb5e90ca10b416c6a9dba800fdc9adcd6e75c1d
parent240b9b1d80ae237805e8b5ec8280c139f7455b60
Fix LICM's memory promotion optimization to preserve TBAA tags when
promoting a store in a loop.  This was noticed when working on PR14753,
but isn't directly related.

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