Revert r246244 and r246243
[oota-llvm.git] / include / llvm / Transforms / Utils / Local.h
index 5445c1b0e4f8e4e05d52106c6f86f4674fca3d0b..a1bb367ac7b67214758aeee4b76d8c995e87e011 100644 (file)
@@ -291,10 +291,6 @@ void combineMetadata(Instruction *K, const Instruction *J, ArrayRef<unsigned> Kn
 /// the given edge.  Returns the number of replacements made.
 unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
                                   const BasicBlockEdge &Edge);
-/// \brief Replace each use of 'From' with 'To' if that use is dominated by
-/// the given BasicBlock. Returns the number of replacements made.
-unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
-                                  const BasicBlock *BB);
 } // End llvm namespace
 
 #endif