From b60f6e0550d45b02805ed93fe3ead33756dec25a Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Fri, 12 May 2017 15:25:56 +0000 Subject: [PATCH] [NewGVN] Format an assertion and fix a typo. NFCI. llvm-svn: 302906 --- llvm/lib/Transforms/Scalar/NewGVN.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index e0f6af92..e257f06 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -1046,9 +1046,8 @@ Value *NewGVN::lookupOperandLeader(Value *V) const { const MemoryAccess *NewGVN::lookupMemoryLeader(const MemoryAccess *MA) const { auto *CC = getMemoryClass(MA); assert(CC->getMemoryLeader() && - "Every MemoryAccess should be mapped to a " - "congruence class with a represenative memory " - "access"); + "Every MemoryAccess should be mapped to a congruence class with a " + "representative memory access"); return CC->getMemoryLeader(); } -- 2.7.4