diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index 62b5d80d611b..3c9850b156ac 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -2494,12 +2494,11 @@ void NewGVN::verifyMemoryCongruency() const { continue; if (CC->getStoreCount() != 0) { assert((CC->getStoredValue() || !isa(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())