Eliminate the bugpoint -mode option, by making bugpoint automatically infer the root of all of your problems

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-10-14 20:52:55 +00:00
parent c2b81f69ed
commit a5a96a9ed9
2 changed files with 24 additions and 38 deletions

View File

@ -261,13 +261,6 @@ bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs,
/// input.
///
bool BugDriver::debugMiscompilation() {
if (diffProgram()) {
std::cout << "\n*** Input program does not match reference diff!\n"
<< " Must be problem with input source!\n";
return false; // Problem found
}
// Make sure something was miscompiled...
if (!ReduceMiscompilingPasses(*this).reduceList(PassesToRun)) {
std::cerr << "*** Optimized program matches reference output! No problem "