diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:12:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:12:06 +0000 |
commit | 68e53db664ad62715ddcf29f77cb73f7601ff457 (patch) | |
tree | a744e1473b19a00b453a66a19448fecbf3db3b03 | |
parent | aac4993fdc9ac64a5a41d62168294e32a18199c6 (diff) | |
download | bcm5719-llvm-68e53db664ad62715ddcf29f77cb73f7601ff457.tar.gz bcm5719-llvm-68e53db664ad62715ddcf29f77cb73f7601ff457.zip |
analyze no longer exists, don't offer to run it :)
llvm-svn: 29919
-rw-r--r-- | llvm/tools/bugpoint/OptimizerDriver.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/llvm/tools/bugpoint/OptimizerDriver.cpp b/llvm/tools/bugpoint/OptimizerDriver.cpp index 956faba41b9..43d973eb4b0 100644 --- a/llvm/tools/bugpoint/OptimizerDriver.cpp +++ b/llvm/tools/bugpoint/OptimizerDriver.cpp @@ -77,18 +77,7 @@ void BugDriver::EmitProgressBytecode(const std::string &ID, bool NoFlyer) { 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"; } |