reduce nesting, no functionality change.

llvm-svn: 90001
This commit is contained in:
Chris Lattner 2009-11-27 08:37:22 +00:00
parent 8e62d0a93d
commit ac323297e0
1 changed files with 51 additions and 50 deletions

View File

@ -994,7 +994,9 @@ getNonLocalPointerDepFromBB(Value *Pointer, uint64_t PointeeSize,
// If this is a computation derived from a PHI node, use the suitably
// translated incoming values for each pred as the phi translated version.
if (isPHITranslatable(PtrInst)) {
if (!isPHITranslatable(PtrInst))
goto PredTranslationFailure;
Cache = 0;
for (BasicBlock **PI = PredCache->GetPreds(BB); *PI; ++PI) {
@ -1049,7 +1051,6 @@ getNonLocalPointerDepFromBB(Value *Pointer, uint64_t PointeeSize,
CacheInfo->first = BBSkipFirstBlockPair();
SkipFirstBlock = false;
continue;
}
PredTranslationFailure: