minor cleanup to SROA: when lowering type unsafe accesses to
authorChris Lattner <sabre@nondot.org>
Sun, 27 Jun 2010 07:58:26 +0000 (07:58 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Jun 2010 07:58:26 +0000 (07:58 +0000)
commit1495247f517c0ac3aeeb9e6c7c0205dd7849d332
tree5e2974c05d9e6adf58352ffb14c69a1641b6f41b
parent41c9c0ea32751d71f026acedd1241432b37dcc8e
minor cleanup to SROA: when lowering type unsafe accesses to
large integers, the first inserted value would always create
an 'or X, 0'.  Even though this is trivially zapped by
instcombine, don't bother creating this pointless instruction.

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