[llvm] 8ca7ed7 - llvm-reduce: Report number of new chunks

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 13:01:02 PST 2022


Author: Matt Arsenault
Date: 2022-11-11T13:00:56-08:00
New Revision: 8ca7ed7f932e201eac6fe1733b4b41140f036620

URL: https://github.com/llvm/llvm-project/commit/8ca7ed7f932e201eac6fe1733b4b41140f036620
DIFF: https://github.com/llvm/llvm-project/commit/8ca7ed7f932e201eac6fe1733b4b41140f036620.diff

LOG: llvm-reduce: Report number of new chunks

Added: 
    

Modified: 
    llvm/tools/llvm-reduce/deltas/Delta.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-reduce/deltas/Delta.cpp b/llvm/tools/llvm-reduce/deltas/Delta.cpp
index 0bfb7cfc87424..0071cd0402dbd 100644
--- a/llvm/tools/llvm-reduce/deltas/Delta.cpp
+++ b/llvm/tools/llvm-reduce/deltas/Delta.cpp
@@ -119,7 +119,7 @@ static bool increaseGranularity(std::vector<Chunk> &Chunks) {
   if (SplitOne) {
     Chunks = NewChunks;
     if (Verbose) {
-      errs() << "Success! New Chunks:\n";
+      errs() << "Success! " << NewChunks.size() << " New Chunks:\n";
       for (auto C : Chunks) {
         errs() << '\t';
         C.print();


        


More information about the llvm-commits mailing list