Bunch up all locally used allocas by the block they are allocated in, and
authorChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 22:34:12 +0000 (22:34 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2004 22:34:12 +0000 (22:34 +0000)
commite47f78ed124b35dbd03df9b1471bbc3c7b88898f
treec7c635f7460a5b70dba9b405c3af20fa4cf9238d
parent7fecc2e5e28fa223b16280a5e434d7d0e03e9c52
Bunch up all locally used allocas by the block they are allocated in, and
process them all as a group.  This speeds up SRoA/mem2reg from 28.46s to
0.62s on the testcase from PR209.

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