fix a bug in my licm rewrite when a load from the promoted memory
authorChris Lattner <sabre@nondot.org>
Sat, 4 Sep 2010 00:12:30 +0000 (00:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 4 Sep 2010 00:12:30 +0000 (00:12 +0000)
commit469996400c4ab89d5ddb2eb80acc1c1553439f07
tree88ca59ff06cd284aeb2c9ed88e203d5922cc4a86
parent43c05744b58ff24fab998080680b5ba1e2120dec
fix a bug in my licm rewrite when a load from the promoted memory
location is being re-stored to the memory location.  We would get
a dangling pointer from the SSAUpdate data structure and miss a
use.  This fixes PR8068

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113042 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/crash.ll [new file with mode: 0644]