mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -166,9 +166,8 @@ void DSAA::getMustAliases(Value *P, std::vector<Value*> &RetVals) {
|
||||
|
||||
// The only must alias information we can currently determine occurs when
|
||||
// the node for P is a global node with only one entry.
|
||||
const DSGraph::ScalarMapTy &GSM = G->getScalarMap();
|
||||
DSGraph::ScalarMapTy::const_iterator I = GSM.find(P);
|
||||
if (I != GSM.end()) {
|
||||
DSGraph::ScalarMapTy::const_iterator I = G->getScalarMap().find(P);
|
||||
if (I != G->getScalarMap().end()) {
|
||||
DSNode *N = I->second.getNode();
|
||||
if (N->isComplete() && isSinglePhysicalObject(N))
|
||||
RetVals.push_back(N->getGlobals()[0]);
|
||||
|
Reference in New Issue
Block a user