llvm-6502/lib/Transforms/Utils
Chris Lattner 2636c1be17 *FINALLY* Fix a really nasty nondeterministic bug that has been haunting us
since May 1st.  In this code, the pred iterator was being invalidated sometimes
causing the wrong entries to be added to PHI nodes.

The fix for this is to defererence and safe the *PI value before we hack on
branch instructions, which changes use/def chains, which SOMETIMES invalidates
the iterator.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14278 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-21 07:19:01 +00:00
..
BasicBlockUtils.cpp Finegrainify namespacification 2004-01-09 06:12:26 +00:00
BreakCriticalEdges.cpp Fix bug: test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx 2004-02-29 22:24:41 +00:00
CloneFunction.cpp Move RemapInstruction() to ValueMapper, so that it can be shared with 2004-05-19 09:08:12 +00:00
CloneModule.cpp Convert to SymbolTable's new iteration interface. 2004-05-25 08:53:40 +00:00
CloneTrace.cpp Add CloneTraceInto(), which is based on (and has mostly the same 2004-05-19 09:08:14 +00:00
CodeExtractor.cpp Do not pass a null pointer if this instruction is not prepended or 2004-05-26 22:50:28 +00:00
DemoteRegToStack.cpp Fix PR310 and TailDup/2004-04-01-DemoteRegToStack.llx 2004-04-01 20:28:45 +00:00
InlineFunction.cpp Fix Inline/2004-04-15-InlineDeletesCall.ll 2004-04-16 05:17:59 +00:00
Linker.cpp Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() 2004-06-17 18:19:28 +00:00
Local.cpp Comment out the isnan stuff until we get a proper autoconf test for it 2004-06-21 06:17:21 +00:00
LoopSimplify.cpp Correct rewriting of exit blocks after my last patch 2004-04-18 22:27:10 +00:00
LowerAllocations.cpp Don't emit things like malloc(16*1). Allocation instructions are fixed arity now. 2004-03-03 01:40:53 +00:00
LowerInvoke.cpp Fix one of the major things that is causing the C Backend to infinite loop 2004-05-28 05:02:13 +00:00
LowerSelect.cpp Add a simple select instruction lowering pass 2004-03-30 18:41:10 +00:00
LowerSwitch.cpp Do not create empty basic blocks when the lowerswitch pass expects blocks to 2004-03-14 04:14:31 +00:00
Makefile Added LLVM copyright notice to Makefiles. 2003-10-20 22:26:57 +00:00
Mem2Reg.cpp Finegrainify namespacification 2004-01-09 06:02:20 +00:00
PromoteMemoryToRegister.cpp Change to use the StableBasicBlockNumbering class 2004-06-19 08:42:40 +00:00
SimplifyCFG.cpp *FINALLY* Fix a really nasty nondeterministic bug that has been haunting us 2004-06-21 07:19:01 +00:00
UnifyFunctionExitNodes.cpp Use one destination constructor for the unconditional branch. 2004-05-26 21:38:14 +00:00
ValueMapper.cpp Move RemapInstruction() to ValueMapper, so that it can be shared with 2004-05-19 09:08:12 +00:00
ValueMapper.h Move RemapInstruction() to ValueMapper, so that it can be shared with 2004-05-19 09:08:12 +00:00