Don't insert and erase load instruction. Simply create (new) and delete it.
authorJakub Staszak <kubastaszak@gmail.com>
Thu, 1 Nov 2012 01:10:43 +0000 (01:10 +0000)
committerJakub Staszak <kubastaszak@gmail.com>
Thu, 1 Nov 2012 01:10:43 +0000 (01:10 +0000)
commit4e45abf0aeb7957e1bd7b58785383d0d753c9e23
tree9a535534e0e3669775104e80586b79d4a16bfde1
parenta4a9b3691d62d63285e8be4e6832e1a7221ffa31
Don't insert and erase load instruction. Simply create (new) and delete it.

llvm-svn: 167196
llvm/lib/Transforms/Scalar/SROA.cpp