[llvm-commits] [polly] r171844 - /polly/trunk/lib/DeadCodeElimination.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Tue Jan 8 00:53:58 PST 2013
Author: grosser
Date: Tue Jan 8 02:53:58 2013
New Revision: 171844
URL: http://llvm.org/viewvc/llvm-project?rev=171844&view=rev
Log:
Dead code elimination: Make variable names uppercase
Modified:
polly/trunk/lib/DeadCodeElimination.cpp
Modified: polly/trunk/lib/DeadCodeElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/DeadCodeElimination.cpp?rev=171844&r1=171843&r2=171844&view=diff
==============================================================================
--- polly/trunk/lib/DeadCodeElimination.cpp (original)
+++ polly/trunk/lib/DeadCodeElimination.cpp Tue Jan 8 02:53:58 2013
@@ -40,10 +40,10 @@
bool DeadCodeElim::runOnScop(Scop &S) {
Dependences *D = &getAnalysis<Dependences>();
- int dependencyKinds = Dependences::TYPE_RAW | Dependences::TYPE_WAR |
- Dependences::TYPE_WAW;
+ int Kinds = Dependences::TYPE_RAW | Dependences::TYPE_WAR |
+ Dependences::TYPE_WAW;
- isl_union_map *dependences = D->getDependences(dependencyKinds);
+ isl_union_map *Deps = D->getDependences(Kinds);
// The idea of this pass is to loop over all statments and remove statement
// iterations that do not calculate any value that is read later on. We need
@@ -51,7 +51,7 @@
//
// A case where this pass might be useful is
// http://llvm.org/bugs/show_bug.cgi?id=5117
- isl_union_map_free(dependences);
+ isl_union_map_free(Deps);
return false;
}
More information about the llvm-commits
mailing list