[PATCH] D84981: [NewPM] Only print 'Invalidating all ...' when invalidation occurs

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 14:00:54 PDT 2020


nikic added inline comments.


================
Comment at: llvm/include/llvm/IR/PassManagerImpl.h:131
+      dbgs() << "Invalidating all non-preserved analyses for: " << IR.getName()
+             << "\n";
+
----------------
At this point, does this message still add anything? If this message gets printed, then at least one "Invalidating analysis" message will get printed as well, and that message also includes `IR.getName()`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84981/new/

https://reviews.llvm.org/D84981



More information about the llvm-commits mailing list