]> granicus.if.org Git - llvm/commitdiff
[bugpoint] Disabling one transform shouldn't prevent reporting the progress of the...
authorPhilip Reames <listmail@philipreames.com>
Wed, 29 Jun 2016 00:10:39 +0000 (00:10 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 29 Jun 2016 00:10:39 +0000 (00:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274081 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/CrashDebugger.cpp

index 02e488ed3da8bd18eb680c2686703b439f7cf8fb..3996503970160ef1699a47ae3cb614e1a80afe3a 100644 (file)
@@ -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: