Chris Lattner d0458e5d4f Three improvements:
1. Check for revisiting a block before checking domination, which is faster.
  2. If the stored value isn't an instruction, we don't have to check for domination.
  3. If we have a value used in the same block more than once, make sure to remove the
     block from the UsingBlocks vector.  Not doing so forces us to go through the slow
     path for the alloca.

The combination of these improvements increases the number of allocas on the fastpath
from 8935 to 8982 on PR1432.  This speeds it up from 2.90s to 2.20s (31%)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40811 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-04 02:32:22 +00:00
..
2007-07-27 18:34:27 +00:00
2007-07-27 18:34:27 +00:00
2007-07-30 20:23:45 +00:00
2007-07-19 18:02:32 +00:00
2007-08-01 15:32:29 +00:00
2007-08-01 15:32:29 +00:00
2007-08-01 15:32:29 +00:00
2007-05-06 13:37:16 +00:00
2007-05-03 01:11:54 +00:00