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 | a4be053d7d5428e4259ec0c2509283c892dec7f1 (patch) | |
tree | 719a1d6a613338a8bf04934cbc1bda6dd9e987c2 /tools | |
parent | f91e4f86c2acc44de72cf46ae78e541195ce63b6 (diff) | |
download | external_llvm-a4be053d7d5428e4259ec0c2509283c892dec7f1.zip external_llvm-a4be053d7d5428e4259ec0c2509283c892dec7f1.tar.gz external_llvm-a4be053d7d5428e4259ec0c2509283c892dec7f1.tar.bz2 |
analyze no longer exists, don't offer to run it :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/OptimizerDriver.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tools/bugpoint/OptimizerDriver.cpp b/tools/bugpoint/OptimizerDriver.cpp index 956faba4..43d973e 100644 --- a/tools/bugpoint/OptimizerDriver.cpp +++ b/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"; } |