Teach bugpoint to be a little bit smarter and avoid repeating work

llvm-svn: 13132
This commit is contained in:
Chris Lattner 2004-04-23 20:36:51 +00:00
parent 99e3e94012
commit 02cea4afd3
1 changed files with 5 additions and 1 deletions

View File

@ -108,7 +108,11 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &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: ";