From b7a6698ae95a98774147b7a3a68d474f45423d11 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 9 May 2017 20:02:48 +0000 Subject: [PATCH] [NewGVN] Simplify a DEBUG() statement. NFCI. llvm-svn: 302579 --- llvm/lib/Transforms/Scalar/NewGVN.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index e976f0ec8c3a..ab630ad8d3f8 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -1392,8 +1392,7 @@ bool NewGVN::setMemoryClass(const MemoryAccess *From, 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;