[llvm] r302906 - [NewGVN] Format an assertion and fix a typo. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 08:25:57 PDT 2017
Author: davide
Date: Fri May 12 10:25:56 2017
New Revision: 302906
URL: http://llvm.org/viewvc/llvm-project?rev=302906&view=rev
Log:
[NewGVN] Format an assertion and fix a typo. 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=302906&r1=302905&r2=302906&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp Fri May 12 10:25:56 2017
@@ -1046,9 +1046,8 @@ Value *NewGVN::lookupOperandLeader(Value
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();
}
More information about the llvm-commits
mailing list