forked from OSchip/llvm-project
if we have a phi translation failure of the start block,
return *just* a clobber of the start block, not other random stuff as well. llvm-svn: 61026
This commit is contained in:
parent
b2429e2d69
commit
7ed5ccc517
|
@ -494,6 +494,7 @@ getNonLocalPointerDependency(Value *Pointer, bool isLoad, BasicBlock *FromBB,
|
|||
if (!getNonLocalPointerDepFromBB(Pointer, PointeeSize, isLoad, FromBB,
|
||||
Result, Visited, true))
|
||||
return;
|
||||
Result.clear();
|
||||
Result.push_back(std::make_pair(FromBB,
|
||||
MemDepResult::getClobber(FromBB->begin())));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue