llvm/lib/Transforms/Utils
Chris Lattner b776a335b1 In mem2reg, when handling the single-store case, make sure to remove
a using block from the list if we handle it.  Not doing this caused us
to not be able to promote (with the fast path) allocas which have uses (whoops).

This increases the # allocas hitting this fastpath from 4042 to 8935 on the
testcase in PR1432, speeding up mem2reg by 2.6x



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40809 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-04 02:15:24 +00:00
..
BasicBlockUtils.cpp After a basic block is split into two parts, 2007-07-19 02:29:24 +00:00
BasicInliner.cpp Use SmallPtrSet. 2007-07-27 18:34:27 +00:00
BreakCriticalEdges.cpp Do not preserve ETForest. 2007-06-08 00:02:08 +00:00
CloneFunction.cpp
CloneModule.cpp During module cloning copy aliases too. This fixes PR1544 2007-07-10 19:07:35 +00:00
CloneTrace.cpp
CodeExtractor.cpp New CallInst interface to address GLIBCXX_DEBUG errors caused by 2007-08-01 03:43:44 +00:00
DemoteRegToStack.cpp Adding ability to demote phi to stack. 2007-07-11 18:41:34 +00:00
InlineCost.cpp Use SmallPtrSet. 2007-07-27 18:34:27 +00:00
InlineFunction.cpp Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll 2007-04-15 21:38:06 +00:00
LCSSA.cpp LCSSA preserves dom info. 2007-07-30 20:23:45 +00:00
Local.cpp Move the GET_SIDE_EFFECT_INFO logic from isInstructionTriviallyDead 2007-07-26 16:06:08 +00:00
LoopSimplify.cpp Verify loop info. 2007-07-19 18:02:32 +00:00
LowerAllocations.cpp More explicit keywords. 2007-08-01 15:32:29 +00:00
LowerInvoke.cpp More explicit keywords. 2007-08-01 15:32:29 +00:00
LowerSelect.cpp More explicit keywords. 2007-08-01 15:32:29 +00:00
LowerSwitch.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
Makefile
Mem2Reg.cpp Use DominatorTree instead of ETForest. 2007-06-07 21:57:03 +00:00
PromoteMemoryToRegister.cpp In mem2reg, when handling the single-store case, make sure to remove 2007-08-04 02:15:24 +00:00
SimplifyCFG.cpp New CallInst interface to address GLIBCXX_DEBUG errors caused by 2007-08-01 03:43:44 +00:00
UnifyFunctionExitNodes.cpp Drop 'const' 2007-05-03 01:11:54 +00:00
ValueMapper.cpp Fix comments about vectors to use the current wording. 2007-07-16 14:29:03 +00:00
ValueMapper.h