mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 17:47:58 +00:00
[NewGVN] Clarify the function invariants formatting them properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79b3d6018d
commit
e57a909956
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user