[llvm] r330965 - [GlobalMerge] Fix a typo

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 10:56:50 PDT 2018


Author: haicheng
Date: Thu Apr 26 10:56:50 2018
New Revision: 330965

URL: http://llvm.org/viewvc/llvm-project?rev=330965&view=rev
Log:
[GlobalMerge] Fix a typo

now => know

Modified:
    llvm/trunk/lib/CodeGen/GlobalMerge.cpp

Modified: llvm/trunk/lib/CodeGen/GlobalMerge.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalMerge.cpp?rev=330965&r1=330964&r2=330965&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalMerge.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalMerge.cpp Thu Apr 26 10:56:50 2018
@@ -242,7 +242,7 @@ bool GlobalMerge::doMerge(SmallVectorImp
   // code (currently, a Function) to the set of globals seen so far that are
   // used together in that unit (GlobalUsesByFunction).
   //
-  // When we look at the Nth global, we now that any new set is either:
+  // When we look at the Nth global, we know that any new set is either:
   // - the singleton set {N}, containing this global only, or
   // - the union of {N} and a previously-discovered set, containing some
   //   combination of the previous N-1 globals.




More information about the llvm-commits mailing list