mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Add debug message about non-local loads being clobbered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e456abde2
commit
4306b1a329
@ -952,8 +952,14 @@ bool GVN::processNonLocalLoad(LoadInst *LI,
|
||||
|
||||
// If we had a phi translation failure, we'll have a single entry which is a
|
||||
// clobber in the current block. Reject this early.
|
||||
if (Deps.size() == 1 && Deps[0].second.isClobber())
|
||||
if (Deps.size() == 1 && Deps[0].second.isClobber()) {
|
||||
DEBUG(
|
||||
DOUT << "GVN: non-local load ";
|
||||
WriteAsOperand(*DOUT.stream(), LI);
|
||||
DOUT << " is clobbered by " << *Deps[0].second.getInst();
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
// Filter out useless results (non-locals, etc). Keep track of the blocks
|
||||
// where we have a value available in repl, also keep track of whether we see
|
||||
|
Loading…
Reference in New Issue
Block a user