[NewGVN] Clarify the function invariants formatting them properly.
authorDavide Italiano <davide@freebsd.org>
Tue, 11 Jul 2017 19:15:36 +0000 (19:15 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 11 Jul 2017 19:15:36 +0000 (19:15 +0000)
llvm-svn: 307692

llvm/lib/Transforms/Scalar/NewGVN.cpp

index 66c053c..ee68f20 100644 (file)
@@ -2061,9 +2061,10 @@ Value *NewGVN::getNextValueLeader(CongruenceClass *CC) const {
 //
 // The invariants of this function are:
 //
-// I must be moving to NewClass from OldClass The StoreCount of OldClass and
-// NewClass is expected to have been updated for I already if it is is a store.
-// The OldClass memory leader has not been updated yet if I was the leader.
+// - I must be moving to NewClass from OldClass
+// - The StoreCount of OldClass and NewClass is expected to have been updated
+//   for I already if it is is a store.
+// - The OldClass memory leader has not been updated yet if I was the leader.
 void NewGVN::moveMemoryToNewCongruenceClass(Instruction *I,
                                             MemoryAccess *InstMA,
                                             CongruenceClass *OldClass,