Simplify code a bit by changing instances of:
authorReid Spencer <rspencer@reidspencer.com>
Thu, 26 Oct 2006 19:19:06 +0000 (19:19 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 26 Oct 2006 19:19:06 +0000 (19:19 +0000)
commit811b0cbd6e9d9fde79b9829739f004b49e89b4b9
tree3b109ab7e31257d42e041f1727e99160f5e31c23
parent8910c1cacb116dfd9d854572512b5298274ff7e7
Simplify code a bit by changing instances of:
   InsertNewInstBefore(new CastInst(Val, ValTy, Val->GetName()), I)
into:
   InsertCastBefore(Val, ValTy, I)

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