[llvm-commits] [polly] r149287 - /polly/trunk/lib/ScheduleOptimizer.cpp

Tobias Grosser grosser at fim.uni-passau.de
Mon Jan 30 14:43:56 PST 2012


Author: grosser
Date: Mon Jan 30 16:43:56 2012
New Revision: 149287

URL: http://llvm.org/viewvc/llvm-project?rev=149287&view=rev
Log:
Typo: Maxize -> Mazimize

Found by Sebastian Pop.

Modified:
    polly/trunk/lib/ScheduleOptimizer.cpp

Modified: polly/trunk/lib/ScheduleOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/ScheduleOptimizer.cpp?rev=149287&r1=149286&r2=149287&view=diff
==============================================================================
--- polly/trunk/lib/ScheduleOptimizer.cpp (original)
+++ polly/trunk/lib/ScheduleOptimizer.cpp Mon Jan 30 16:43:56 2012
@@ -62,8 +62,8 @@
                cl::Hidden, cl::init("min"));
 
 static cl::opt<std::string>
-MaxizeBandDepth("polly-opt-maximize-bands",
-                cl::desc("Maxize the band depth (yes/no)"),
+MaximizeBandDepth("polly-opt-maximize-bands",
+                cl::desc("Maximize the band depth (yes/no)"),
                 cl::Hidden, cl::init("yes"));
 
 namespace {
@@ -483,9 +483,9 @@
 
   int IslMaximizeBands;
 
-  if (MaxizeBandDepth == "yes") {
+  if (MaximizeBandDepth == "yes") {
     IslMaximizeBands = 1;
-  } else if (MaxizeBandDepth == "no") {
+  } else if (MaximizeBandDepth == "no") {
     IslMaximizeBands = 0;
   } else {
     errs() << "warning: Option -polly-opt-maximize-bands should either be 'yes'"





More information about the llvm-commits mailing list