mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
[PM/AA] Remove the last of the legacy update API from AliasAnalysis as
part of simplifying its interface and usage in preparation for porting to work with the new pass manager. Note that this will likely expose that we have dead arguments, members, and maybe even pass requirements for AA. I'll be cleaning those up in seperate patches. This just zaps the actual update API. Differential Revision: http://reviews.llvm.org/D11325 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -77,8 +77,6 @@ void llvm::FoldSingleEntryPHINodes(BasicBlock *BB, AliasAnalysis *AA,
|
||||
|
||||
if (MemDep)
|
||||
MemDep->removeInstruction(PN); // Memdep updates AA itself.
|
||||
else if (AA && isa<PointerType>(PN->getType()))
|
||||
AA->deleteValue(PN);
|
||||
|
||||
PN->eraseFromParent();
|
||||
}
|
||||
|
Reference in New Issue
Block a user