Factor out duplicated code for reusing and inserting casts into
authorDan Gohman <gohman@apple.com>
Sat, 19 Jun 2010 13:25:23 +0000 (13:25 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 19 Jun 2010 13:25:23 +0000 (13:25 +0000)
commit485c43fc478d5e16c55e14cb2586b56cc1c4c91f
tree703aa6016187844cb12190e6b3dfe6e7b6353ada
parent54eee524f192a0e7395d057481e8d4240729d7b4
Factor out duplicated code for reusing and inserting casts into
a helper function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106388 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpander.h
lib/Analysis/ScalarEvolutionExpander.cpp