[PM/AA] Completely remove the AliasAnalysis::copyValue interface.
[oota-llvm.git] / lib / Transforms / Utils / LoopSimplify.cpp
index 2e7d21cb171f041b0c8e6103ddd25056a770ae68..5c98043e463273828b6a263be5da03500b5abc3b 100644 (file)
@@ -403,7 +403,6 @@ static BasicBlock *insertUniqueBackedgeBlock(Loop *L, BasicBlock *Preheader,
     PHINode *PN = cast<PHINode>(I);
     PHINode *NewPN = PHINode::Create(PN->getType(), BackedgeBlocks.size(),
                                      PN->getName()+".be", BETerminator);
-    if (AA) AA->copyValue(PN, NewPN);
 
     // Loop over the PHI node, moving all entries except the one for the
     // preheader over to the new PHI node.