Implement full support for promoting allocas to registers using SSAUpdater
authorChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2011 07:50:47 +0000 (07:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2011 07:50:47 +0000 (07:50 +0000)
commite0a1a5ba91df6817f9ffae7af65ed0bda66f7620
treeb336ea28f32f8eefe078532381ba606dd0b7ba86
parentbdb6b7f9c738d14432fcc6c484fe26dd4d91dba9
Implement full support for promoting allocas to registers using SSAUpdater
instead of DomTree/DomFrontier.  This may be interesting for reducing compile
time.  This is currently disabled, but seems to work just fine.

When this is enabled, we eliminate two runs of dominator frontier, one in the
"early per-function" optimizations and one in the "interlaced with inliner"
function passes.

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