llvm-6502/lib/Transforms/Utils
Dan Gohman b8eb17c807 Add an assertion to catch indirectbr in SplitBlockPredecessors. This
makes several optimization passes abort in cases where they're currently
silently miscompiling code.

Remove the indirectbr assertion from SplitEdge. Indirectbr is only
a problem for critical edges, and SplitEdge defers to SplitCriticalEdge
to handle those, and SplitCriticalEdge has its own assertion for
indirectbr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86147 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-05 18:25:44 +00:00
..
AddrModeMatcher.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
BasicBlockUtils.cpp Add an assertion to catch indirectbr in SplitBlockPredecessors. This 2009-11-05 18:25:44 +00:00
BasicInliner.cpp Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. 2009-10-25 06:33:48 +00:00
BreakCriticalEdges.cpp improve comment. 2009-11-01 18:17:37 +00:00
CloneFunction.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
CloneLoop.cpp Simplify code by using SmallVector's pop_back_val() instead of 2009-05-06 17:22:41 +00:00
CloneModule.cpp MapValue doesn't needs its LLVMContext argument. 2009-10-24 23:37:16 +00:00
CMakeLists.txt Alphabetize. 2009-11-03 04:01:53 +00:00
CodeExtractor.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
DemoteRegToStack.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
InlineFunction.cpp Fix a pretty serious misfeature of the inliner: if it inlines a function 2009-10-27 05:39:41 +00:00
InstructionNamer.cpp Change instnamer to name arguments "arg" instead of "tmp" for clarity, and 2009-10-19 14:47:32 +00:00
LCSSA.cpp rewrite LCSSA to use SSAUpdate, to only return true if it modifies 2009-10-11 02:53:37 +00:00
Local.cpp remove a isFreeCall check: it is a callinst that can write to memory already. 2009-11-03 05:33:46 +00:00
LoopSimplify.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
LoopUnroll.cpp Revert r85667. LoopUnroll currently can't call utility functions which 2009-10-31 17:33:01 +00:00
LowerInvoke.cpp Remove FreeInst. 2009-10-26 23:43:48 +00:00
LowerSwitch.cpp Remove FreeInst. 2009-10-26 23:43:48 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Mem2Reg.cpp Remove FreeInst. 2009-10-26 23:43:48 +00:00
PromoteMemoryToRegister.cpp fix a bug exposed by moving SRoA earlier which caused a crash building kc++ 2009-11-02 04:37:17 +00:00
SimplifyCFG.cpp Add a comment about a missed opportunity. 2009-10-30 23:15:43 +00:00
SSAUpdater.cpp alternate fix for PR5258 which avoids worklist problems, with reduced testcase. 2009-10-20 20:27:49 +00:00
SSI.cpp Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. 2009-10-25 06:33:48 +00:00
UnifyFunctionExitNodes.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ValueMapper.cpp Revert 85678/85680. The decision is to stay with the current form of 2009-11-01 01:27:45 +00:00