[llvm] r302173 - [NewGVN] Remove unneeded newline and format assertions. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 10:26:15 PDT 2017


Author: davide
Date: Thu May  4 12:26:15 2017
New Revision: 302173

URL: http://llvm.org/viewvc/llvm-project?rev=302173&view=rev
Log:
[NewGVN] Remove unneeded newline and format assertions. 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=302173&r1=302172&r2=302173&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Thu May  4 12:26:15 2017
@@ -2494,12 +2494,11 @@ void NewGVN::verifyMemoryCongruency() co
       continue;
     if (CC->getStoreCount() != 0) {
       assert((CC->getStoredValue() || !isa<StoreInst>(CC->getLeader())) &&
-             "Any class with a store as a "
-             "leader should have a "
-             "representative stored value\n");
+             "Any class with a store as a leader should have a "
+             "representative stored value");
       assert(CC->getMemoryLeader() &&
-             "Any congruence class with a store should "
-             "have a representative access\n");
+             "Any congruence class with a store should have a "
+             "representative access");
     }
 
     if (CC->getMemoryLeader())




More information about the llvm-commits mailing list