[llvm] r302579 - [NewGVN] Simplify a DEBUG() statement. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 13:02:48 PDT 2017
Author: davide
Date: Tue May 9 15:02:48 2017
New Revision: 302579
URL: http://llvm.org/viewvc/llvm-project?rev=302579&view=rev
Log:
[NewGVN] Simplify a DEBUG() statement. NFCI.
Modified:
llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp?rev=302579&r1=302578&r2=302579&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Tue May 9 15:02:48 2017
@@ -1392,8 +1392,7 @@ bool NewGVN::setMemoryClass(const Memory
DEBUG(dbgs() << "Setting " << *From);
DEBUG(dbgs() << " equivalent to congruence class ");
DEBUG(dbgs() << NewClass->getID() << " with current MemoryAccess leader ");
- DEBUG(dbgs() << *NewClass->getMemoryLeader());
- DEBUG(dbgs() << "\n");
+ DEBUG(dbgs() << *NewClass->getMemoryLeader() << "\n");
auto LookupResult = MemoryAccessToClass.find(From);
bool Changed = false;
More information about the llvm-commits
mailing list