forked from OSchip/llvm-project
parent
8e62d0a93d
commit
ac323297e0
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue