two minor changes: switch to the standard ValueToValueMapTy
authorChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2011 07:21:31 +0000 (07:21 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2011 07:21:31 +0000 (07:21 +0000)
commit6ccb3652933bcdede2b2a53cf76ddd56ce9592a2
treefe552447f7ad385c78aa004447cba8d4f2a6310c
parentda7a32c07d6916c873d798ccae300036bc0129cb
two minor changes: switch to the standard ValueToValueMapTy
map from ValueMapper.h (giving us access to its utilities)
and add a fastpath in the loop rotation code, avoiding expensive
ssa updator manipulation for values with nothing to update.

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