Fix the obvious bug in my previous checkin

llvm-svn: 12618
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index b606c58..9c361083 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -701,6 +701,9 @@
               if (FVPN->getParent() == FalseSucc)
                 FalseValue = FVPN->getIncomingValueForBlock(BI->getParent());
 
+            TrueSucc->removePredecessor(BI->getParent());
+            FalseSucc->removePredecessor(BI->getParent());
+
             // Insert a new select instruction.
             Value *NewRetVal = new SelectInst(BI->getCondition(), TrueValue,
                                               FalseValue, "retval", BI);