Try to run cleanups even if nothing was modified in the preview passes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6897 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-06-25 04:13:52 +00:00
parent 06c818e717
commit 898e0e42e3

View File

@@ -360,7 +360,6 @@ bool BugDriver::debugCrash() {
} while (Simplification);
// Try to clean up the testcase by running funcresolve and globaldce...
if (AnyReduction) {
std::cout << "\n*** Attempting to perform final cleanups: ";
Module *M = performFinalCleanups();
std::swap(Program, M);
@@ -374,7 +373,6 @@ bool BugDriver::debugCrash() {
delete Program; // Otherwise, restore the original module...
Program = M;
}
}
if (AnyReduction)
EmitProgressBytecode("reduced-simplified");