From: Daniel Berlin Date: Sun, 29 Jan 2017 10:26:03 +0000 (+0000) Subject: NewGVN: Fix where newline is printed in debug printing of memory equivalence X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=428ff68ae04b96ed4f272747af21b279c3a331ad;p=llvm NewGVN: Fix where newline is printed in debug printing of memory equivalence git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293428 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/NewGVN.cpp b/lib/Transforms/Scalar/NewGVN.cpp index 7c1fbcf35db..c17b9f7fcf2 100644 --- a/lib/Transforms/Scalar/NewGVN.cpp +++ b/lib/Transforms/Scalar/NewGVN.cpp @@ -888,8 +888,8 @@ bool NewGVN::setMemoryAccessEquivTo(MemoryAccess *From, CongruenceClass *To) { DEBUG(dbgs() << *To->RepMemoryAccess); } else { DEBUG(dbgs() << " equivalent to itself"); - DEBUG(dbgs() << "\n"); } + DEBUG(dbgs() << "\n"); auto LookupResult = MemoryAccessToClass.find(From); bool Changed = false;