From: Chris Lattner Date: Fri, 23 Apr 2004 20:36:51 +0000 (+0000) Subject: Teach bugpoint to be a little bit smarter and avoid repeating work X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f4789e6d04c1fddb40092a1193c4a5eb67387acc;p=oota-llvm.git Teach bugpoint to be a little bit smarter and avoid repeating work git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13132 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index cda0098f887..3e532226b95 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -108,7 +108,11 @@ ReduceMiscompilingPasses::doTest(std::vector &Prefix, exit(1); } removeFile(BytecodeResult); // No longer need the file on disk - + + // Don't check if there are no passes in the suffix. + if (Suffix.empty()) + return NoFailure; + std::cout << "Checking to see if '" << getPassesString(Suffix) << "' passes compile correctly after the '" << getPassesString(Prefix) << "' passes: ";