gvn small fix

http://reviews.llvm.org/D12928

llvm-svn: 247935
This commit is contained in:
Piotr Padlewski 2015-09-17 20:34:22 +00:00
parent 76acca71c9
commit f2ab1ed0ec

View File

@ -1939,10 +1939,8 @@ bool GVN::processLoad(LoadInst *L) {
++NumGVNLoad; ++NumGVNLoad;
return true; return true;
} }
}
// If the value isn't available, don't do anything! // If the value isn't available, don't do anything!
if (Dep.isClobber()) {
DEBUG( DEBUG(
// fast print dep, using operator<< on instruction is too slow. // fast print dep, using operator<< on instruction is too slow.
dbgs() << "GVN: load "; dbgs() << "GVN: load ";