[PATCH] D131960: [IR] Reimplement time tracing of NewPassManager by PassInstrumentation framework

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 13:24:36 PDT 2022


aeubanks added a comment.

In D131960#3781325 <https://reviews.llvm.org/D131960#3781325>, @jamieschmeiser wrote:

> @aeubanks Not sure what you mean...  something like print-changed=no-change?  That would different from this work but we can continue the discussion.

Nothing to do with printing, I meant somehow augmenting TimeTrace filter out passes that actually transform the IR (since they're actually doing something) and only report passes that made no change (wasting compile time). That could be useful for investigating if there's any way to avoid running passes.

and yeah I'm not asking for any work here, just a random thought


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131960



More information about the llvm-commits mailing list