1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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

llvm-svn: 6897
This commit is contained in:
Chris Lattner 2003-06-25 04:13:52 +00:00
parent bc15c235dd
commit ca92cc4853

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");