mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user