Chris Lattner fc4928a31a Implement a refinement to the mem2reg algorithm for cases where an alloca
has a single def.  In this case, look for uses that are dominated by the def
and attempt to rewrite them to directly use the stored value.

This speeds up mem2reg on these values and reduces the number of phi nodes
inserted.  This should address PR665.

llvm-svn: 24411
2005-11-18 07:31:42 +00:00
..
2005-04-21 23:48:37 +00:00
2005-04-21 23:48:37 +00:00
2005-04-21 23:48:37 +00:00
2005-10-27 16:34:00 +00:00
2005-04-21 23:48:37 +00:00
2005-04-21 23:48:37 +00:00