llvm-6502/include/llvm/Transforms/Utils
Bob Wilson c52edc7d30 Fix handling of unreachable blocks in the SSAUpdater. The previous code only
handled cases where a block had zero predecessors, but failed to detect other
cases like loops with no entries.  The SSAUpdater is already doing a forward
traversal through the blocks, so it is not hard to identify the blocks that
were never reached on that traversal.  This fixes the crash for ppc on the
stepanov_vector test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103184 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-06 16:24:11 +00:00
..
AddrModeMatcher.h Convert a few more uses of llvm/Support/Streams.h to raw_ostream. 2009-07-25 01:13:51 +00:00
BasicBlockUtils.h Rename SuccessorNumber to GetSuccessorNumber. 2010-02-16 21:06:42 +00:00
BasicInliner.h Move the InlineCost code from Transforms/Utils to Analysis. 2009-10-13 18:30:07 +00:00
BuildLibCalls.h Add support for stpncpy_chk. 2010-04-07 23:00:07 +00:00
Cloning.h rename InlineInfo.DevirtualizedCalls -> InlinedCalls to 2010-05-01 01:26:13 +00:00
FunctionUtils.h Forward-declare Loop and LoopInfo instead of #including LoopInfo.h. 2009-07-13 22:19:41 +00:00
Local.h Teach SimplifyCFG about magic pointer constants. 2010-02-05 22:03:18 +00:00
PromoteMemToReg.h Pull LLVMContext out of PromoteMemToReg. 2009-11-23 03:50:44 +00:00
SSAUpdater.h Combine the implementations of the core part of the SSAUpdater and 2010-05-04 23:18:19 +00:00
SSAUpdaterImpl.h Fix handling of unreachable blocks in the SSAUpdater. The previous code only 2010-05-06 16:24:11 +00:00
SSI.h Make a few more LLVM headers parsable as standalone headers. 2009-11-05 23:01:30 +00:00
UnifyFunctionExitNodes.h Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
UnrollLoop.h Forward-declare Loop and LoopInfo instead of #including LoopInfo.h. 2009-07-13 22:19:41 +00:00