[llvm] r217133 - [GVN] Format variable name.
Tilmann Scheller
t.scheller at samsung.com
Wed Sep 3 23:38:00 PDT 2014
Author: tilmann
Date: Thu Sep 4 01:38:00 2014
New Revision: 217133
URL: http://llvm.org/viewvc/llvm-project?rev=217133&view=rev
Log:
[GVN] Format variable name.
Local variables need to start with an upper case letter.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=217133&r1=217132&r2=217133&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Thu Sep 4 01:38:00 2014
@@ -2644,8 +2644,8 @@ bool GVN::iterateOnFunction(Function &F)
//
std::vector<BasicBlock *> BBVect;
BBVect.reserve(256);
- for (DomTreeNode *x : depth_first(DT->getRootNode()))
- BBVect.push_back(x->getBlock());
+ for (DomTreeNode *X : depth_first(DT->getRootNode()))
+ BBVect.push_back(X->getBlock());
for (std::vector<BasicBlock *>::iterator I = BBVect.begin(), E = BBVect.end();
I != E; I++)
More information about the llvm-commits
mailing list