Revert r133513:
[oota-llvm.git] / lib / VMCore / Value.cpp
index a03cddc9d5e40084af79b77573cb9cda08c80fdf..29f6a8094f0bb258888e060b455c5e8ecc2e2538 100644 (file)
@@ -305,9 +305,6 @@ void Value::uncheckedReplaceAllUsesWith(Value *New) {
 
     U.set(New);
   }
-
-  if (BasicBlock *BB = dyn_cast<BasicBlock>(this))
-    BB->replaceSuccessorsPhiUsesWith(cast<BasicBlock>(New));
 }
 
 void Value::replaceAllUsesWith(Value *New) {