mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Teach bugpoint to be a little bit smarter and avoid repeating work
llvm-svn: 13132
This commit is contained in:
parent
071e2bce64
commit
7902d8fd02
@ -108,7 +108,11 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix,
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
removeFile(BytecodeResult); // No longer need the file on disk
|
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)
|
std::cout << "Checking to see if '" << getPassesString(Suffix)
|
||||||
<< "' passes compile correctly after the '"
|
<< "' passes compile correctly after the '"
|
||||||
<< getPassesString(Prefix) << "' passes: ";
|
<< getPassesString(Prefix) << "' passes: ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user