mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
[MemorySSA] MemorySSA should not model debuginfo, and need not update it.
Reverts the change in r371084, but keeps the test. After r371565, debuginfo cannot be modelled in MemorySSA, even with a non-standard AA pipeline. llvm-svn: 371573
This commit is contained in:
parent
469d42fcf6
commit
f9cc0393b3
@ -250,11 +250,8 @@ bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, DomTreeUpdater *DTU,
|
||||
llvm::findDbgValues(DbgValues, Incoming);
|
||||
for (auto &DVI : DbgValues) {
|
||||
auto R = DbgValueSet.insert({DVI->getVariable(), DVI->getExpression()});
|
||||
if (!R.second) {
|
||||
if (MSSAU)
|
||||
MSSAU->removeMemoryAccess(DVI);
|
||||
if (!R.second)
|
||||
DVI->eraseFromParent();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user