Remove a whole bunch of horrible hacky code that was used to promote allocas
authorChris Lattner <sabre@nondot.org>
Sun, 19 Sep 2004 18:51:51 +0000 (18:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Sep 2004 18:51:51 +0000 (18:51 +0000)
commita744b77e11a375927ffe6b807b99cd91cb55e2ba
treec24a11a5097157ff10664c2f1abed10aa45b8062
parent1fb6e41822b37dc54f57a6ea81593a508e52f5a3
Remove a whole bunch of horrible hacky code that was used to promote allocas
whose addresses where used by trivial phi nodes and select instructions.  This
is now performed by the instcombine pass, which is more powerful, is much
simpler, and is faster.  This allows the deletion of a bunch of code, two
FIXME's and two gotos.

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