Add a new LoadAndStorePromoter class, which implements the general
authorChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2011 19:36:13 +0000 (19:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2011 19:36:13 +0000 (19:36 +0000)
commita2d845a3ff0b11ca7de6dd0485aa23edef7d149a
tree555c2876cf15805d468e07b77a09fea93f99f63d
parentf18e4c3ab4735e278427f13e13603ecfa5608f0e
Add a new LoadAndStorePromoter class, which implements the general
"promote a bunch of load and stores" logic, allowing the code to
be shared and reused.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123456 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/SSAUpdater.h
lib/Transforms/Utils/SSAUpdater.cpp