Split mem2reg promotion into two parts: a function which does the work, and
authorChris Lattner <sabre@nondot.org>
Sat, 22 Feb 2003 23:57:48 +0000 (23:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 22 Feb 2003 23:57:48 +0000 (23:57 +0000)
commitd99bf49a53d170112c0241a4393ab374666b04bd
treeae25980b060d67e8d9680f558cee1e41adcbb984
parent782752b7a2edbe0889766f0a71c2cb727bd89007
Split mem2reg promotion into two parts: a function which does the work, and
a pass which wraps the function.  This allows other passes to use the functionality

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5610 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Mem2Reg.cpp [new file with mode: 0644]
lib/Transforms/Utils/PromoteMemoryToRegister.cpp