simplify some code by adding a InsertBitCastBefore method,
authorChris Lattner <sabre@nondot.org>
Sun, 13 Jan 2008 22:23:22 +0000 (22:23 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Jan 2008 22:23:22 +0000 (22:23 +0000)
commit6d0339d451aeee14f8b1d0f4c74591903580b5cd
tree23826617281540bfbbae707005b1e9fed37bbcf2
parent9e9cf0ce3134f900037abb8c95165eb0f4cb1f90
simplify some code by adding a InsertBitCastBefore method,
make memmove->memcpy conversion a bit simpler.

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