diff options
author | Davide Italiano <davide@freebsd.org> | 2017-01-14 20:15:04 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-01-14 20:15:04 +0000 |
commit | ed67f1978eaf37a284e109f551388a4b1eccfbf0 (patch) | |
tree | 46995acae54342155f5ae3a79abb81669f77700e /llvm/lib/Transforms/Scalar | |
parent | 7cf29dcca542f496e4cdb9645075bb0340eb62ea (diff) | |
download | bcm5719-llvm-ed67f1978eaf37a284e109f551388a4b1eccfbf0.tar.gz bcm5719-llvm-ed67f1978eaf37a284e109f551388a4b1eccfbf0.zip |
[NewGVN] clang-format this file after recent changes.
llvm-svn: 292026
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
-rw-r--r-- | llvm/lib/Transforms/Scalar/NewGVN.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index b8897dd13f7..50ccffc6cca 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -1558,7 +1558,8 @@ bool NewGVN::singleReachablePHIPath(const MemoryAccess *First, // Verify the that the memory equivalence table makes sense relative to the // congruence classes. Note that this checking is not perfect, and is currently -// subject to very rare false negatives. It is only useful for testing/debugging. +// subject to very rare false negatives. It is only useful for +// testing/debugging. void NewGVN::verifyMemoryCongruency() const { // Anything equivalent in the memory access table should be in the same // congruence class. @@ -1587,11 +1588,11 @@ void NewGVN::verifyMemoryCongruency() const { auto *SecondMUD = dyn_cast<MemoryUseOrDef>(KV.second); if (FirstMUD && SecondMUD) assert((singleReachablePHIPath(FirstMUD, SecondMUD) || - ValueToClass.lookup(FirstMUD->getMemoryInst()) == - ValueToClass.lookup(SecondMUD->getMemoryInst())) && - "The instructions for these memory operations should have " - "been in the same congruence class or reachable through" - "a single argument phi"); + ValueToClass.lookup(FirstMUD->getMemoryInst()) == + ValueToClass.lookup(SecondMUD->getMemoryInst())) && + "The instructions for these memory operations should have " + "been in the same congruence class or reachable through" + "a single argument phi"); } else if (auto *FirstMP = dyn_cast<MemoryPhi>(KV.first)) { // We can only sanely verify that MemoryDefs in the operand list all have |