]> granicus.if.org Git - llvm/commitdiff
NewGVN: Reformat and fix a few newlines
authorDaniel Berlin <dberlin@dberlin.org>
Sat, 7 Jan 2017 03:23:47 +0000 (03:23 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Sat, 7 Jan 2017 03:23:47 +0000 (03:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291334 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/NewGVN.cpp

index c6099ea5051faf139ef1ee11e50b8055c9a024fc..0f782333a1a79e5fdf779f5b147e19f73a392f36 100644 (file)
@@ -79,7 +79,8 @@ STATISTIC(NumGVNInstrDeleted, "Number of instructions deleted");
 STATISTIC(NumGVNBlocksDeleted, "Number of blocks deleted");
 STATISTIC(NumGVNOpsSimplified, "Number of Expressions simplified");
 STATISTIC(NumGVNPhisAllSame, "Number of PHIs whos arguments are all the same");
-STATISTIC(NumGVNMaxIterations, "Maximum Number of iterations it took to converge GVN");
+STATISTIC(NumGVNMaxIterations,
+          "Maximum Number of iterations it took to converge GVN");
 
 //===----------------------------------------------------------------------===//
 //                                GVN Pass
@@ -1023,7 +1024,6 @@ void NewGVN::markMemoryUsersTouched(MemoryAccess *MA) {
 
 // Perform congruence finding on a given value numbering expression.
 void NewGVN::performCongruenceFinding(Value *V, const Expression *E) {
-
   ValueToExpression[V] = E;
   // This is guaranteed to return something, since it will at least find
   // INITIAL.
@@ -1881,6 +1881,7 @@ private:
   SmallVector<std::pair<int, int>, 8> DFSStack;
 };
 }
+
 bool NewGVN::eliminateInstructions(Function &F) {
   // This is a non-standard eliminator. The normal way to eliminate is
   // to walk the dominator tree in order, keeping track of available