llvm-mirror/lib/Transforms/Utils
Chris Lattner 97ab2cec69 *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.

llvm-svn: 14278
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
Makefile Added LLVM copyright notice to Makefiles. 2003-10-20 22:26:57 +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