[llvm] r274081 - [bugpoint] Disabling one transform shouldn't prevent reporting the progress of the former
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 17:10:40 PDT 2016
Author: reames
Date: Tue Jun 28 19:10:39 2016
New Revision: 274081
URL: http://llvm.org/viewvc/llvm-project?rev=274081&view=rev
Log:
[bugpoint] Disabling one transform shouldn't prevent reporting the progress of the former
Modified:
llvm/trunk/tools/bugpoint/CrashDebugger.cpp
Modified: llvm/trunk/tools/bugpoint/CrashDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=274081&r1=274080&r2=274081&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/CrashDebugger.cpp (original)
+++ llvm/trunk/tools/bugpoint/CrashDebugger.cpp Tue Jun 28 19:10:39 2016
@@ -814,10 +814,9 @@ static bool DebugACrash(BugDriver &BD,
}
} while (Simplification);
+ BD.EmitProgressBitcode(BD.getProgram(), "reduced-instructions");
if (!NoNamedMDRM) {
- BD.EmitProgressBitcode(BD.getProgram(), "reduced-instructions");
-
if (!BugpointIsInterrupted) {
// Try to reduce the amount of global metadata (particularly debug info),
// by dropping global named metadata that anchors them
@@ -837,6 +836,7 @@ static bool DebugACrash(BugDriver &BD,
NamedMDOps.push_back(op);
ReduceCrashingNamedMDOps(BD, TestFn).reduceList(NamedMDOps, Error);
}
+ BD.EmitProgressBitcode(BD.getProgram(), "reduced-named-md");
}
ExitLoops:
More information about the llvm-commits
mailing list