[Attributor][NFC] Print the right value in debug output
authorJohannes Doerfert <johannes@jdoerfert.de>
Sat, 10 Oct 2020 14:58:25 +0000 (09:58 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 28 Oct 2020 03:07:55 +0000 (22:07 -0500)
llvm/lib/Transforms/IPO/Attributor.cpp

index 6efc220..3d7fde4 100644 (file)
@@ -1357,7 +1357,7 @@ ChangeStatus Attributor::cleanupIR() {
 
   NumFnDeleted += ToBeDeletedFunctions.size();
 
-  LLVM_DEBUG(dbgs() << "[Attributor] Deleted " << NumFnDeleted
+  LLVM_DEBUG(dbgs() << "[Attributor] Deleted " << ToBeDeletedFunctions.size()
                     << " functions after manifest.\n");
 
 #ifdef EXPENSIVE_CHECKS