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:
Chris Lattner 2008-12-15 04:58:29 +00:00
parent b2429e2d69
commit 7ed5ccc517
1 changed files with 1 additions and 0 deletions

View File

@ -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())));
}