[llvm-commits] CVS: llvm/tools/bugpoint/OptimizerDriver.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 15:12:20 PDT 2006



Changes in directory llvm/tools/bugpoint:

OptimizerDriver.cpp updated: 1.43 -> 1.44
---
Log message:

analyze no longer exists, don't offer to run it :)


---
Diffs of the changes:  (+1 -12)

 OptimizerDriver.cpp |   13 +------------
 1 files changed, 1 insertion(+), 12 deletions(-)


Index: llvm/tools/bugpoint/OptimizerDriver.cpp
diff -u llvm/tools/bugpoint/OptimizerDriver.cpp:1.43 llvm/tools/bugpoint/OptimizerDriver.cpp:1.44
--- llvm/tools/bugpoint/OptimizerDriver.cpp:1.43	Wed Aug 23 15:34:57 2006
+++ llvm/tools/bugpoint/OptimizerDriver.cpp	Sun Aug 27 17:12:06 2006
@@ -77,18 +77,7 @@
   std::cout << "Emitted bytecode to '" << Filename << "'\n";
   if (NoFlyer || PassesToRun.empty()) return;
   std::cout << "\n*** You can reproduce the problem with: ";
-
-  unsigned PassType = PassesToRun[0]->getPassType();
-  for (unsigned i = 1, e = PassesToRun.size(); i != e; ++i)
-    PassType &= PassesToRun[i]->getPassType();
-
-  if (PassType & PassInfo::Analysis)
-    std::cout << "analyze";
-  else if (PassType & PassInfo::Optimization)
-    std::cout << "opt";
-  else
-    std::cout << "bugpoint";
-  std::cout << " " << Filename << " ";
+  std::cout << "opt " << Filename << " ";
   std::cout << getPassesString(PassesToRun) << "\n";
 }
 






More information about the llvm-commits mailing list