summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-06-29 00:10:39 +0000
committerPhilip Reames <listmail@philipreames.com>2016-06-29 00:10:39 +0000
commitac285cc9f6cbe24ac07a5b9e3b415048f20fb8ce (patch)
treef389760e375a8f1c6abd20b6c14db7f754ca688c
parent3ffc45f5fd7d46ac5cf25e6e0c38ad0f0557abb5 (diff)
downloadbcm5719-llvm-ac285cc9f6cbe24ac07a5b9e3b415048f20fb8ce.tar.gz
bcm5719-llvm-ac285cc9f6cbe24ac07a5b9e3b415048f20fb8ce.zip
[bugpoint] Disabling one transform shouldn't prevent reporting the progress of the former
llvm-svn: 274081
-rw-r--r--llvm/tools/bugpoint/CrashDebugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp
index 02e488ed3da..39965039701 100644
--- a/llvm/tools/bugpoint/CrashDebugger.cpp
+++ b/llvm/tools/bugpoint/CrashDebugger.cpp
@@ -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:
OpenPOWER on IntegriCloud