Skip to content
Commit f12c4a3d authored by Chris Lattner's avatar Chris Lattner
Browse files

*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
parent 46f60890
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment