mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61026 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4807e07fff
commit
3af23f8aba
@ -494,6 +494,7 @@ getNonLocalPointerDependency(Value *Pointer, bool isLoad, BasicBlock *FromBB,
|
|||||||
if (!getNonLocalPointerDepFromBB(Pointer, PointeeSize, isLoad, FromBB,
|
if (!getNonLocalPointerDepFromBB(Pointer, PointeeSize, isLoad, FromBB,
|
||||||
Result, Visited, true))
|
Result, Visited, true))
|
||||||
return;
|
return;
|
||||||
|
Result.clear();
|
||||||
Result.push_back(std::make_pair(FromBB,
|
Result.push_back(std::make_pair(FromBB,
|
||||||
MemDepResult::getClobber(FromBB->begin())));
|
MemDepResult::getClobber(FromBB->begin())));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user