[PM/AA] Completely remove the AliasAnalysis::copyValue interface.
[oota-llvm.git] / lib / Transforms / Utils / BasicBlockUtils.cpp
index 53471de6154c6d117a960afd7584bdb8a2914dff..ef7dacac79cbab417c089e314239e44a8d652d05 100644 (file)
@@ -440,8 +440,6 @@ static void UpdatePHINodes(BasicBlock *OrigBB, BasicBlock *NewBB,
     // Create the new PHI node, insert it into NewBB at the end of the block
     PHINode *NewPHI =
         PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI);
-    if (AA)
-      AA->copyValue(PN, NewPHI);
 
     // NOTE! This loop walks backwards for a reason! First off, this minimizes
     // the cost of removal if we end up removing a large number of values, and