diff options
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index cda0098f88..3e532226b9 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -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: "; |