[PATCH] D111575: [NewPM] Add PipelineTuningOption to eagerly invalidate analyses

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 10:19:20 PDT 2021


aeubanks created this revision.
Herald added a subscriber: hiraditya.
aeubanks updated this revision to Diff 380459.
aeubanks added a comment.
Herald added a subscriber: ormris.
aeubanks retitled this revision from "invalidate more" to "[NewPM] Add PipelineTuningOption to eagerly invalidate analyses".
aeubanks edited the summary of this revision.
Herald added a reviewer: ctetreau.
aeubanks edited the summary of this revision.
aeubanks edited reviewers, added: asbirlea, nikic; removed: ctetreau.
Herald added a reviewer: ctetreau.
aeubanks published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

update


This trades off more compile time for less peak memory usage.

With the option turned on:
https://llvm-compile-time-tracker.com/compare.php?from=1fb24fe85a19ae71b00875ff6c96ef1831dcf7e3&to=f1604149f211f2fa2f5609ccdebb96491e961b7f

For now this is just experimental.

See comments on why this may affect optimizations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111575

Files:
  llvm/include/llvm/Passes/PassBuilder.h
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/test/Other/new-pm-eager-invalidate.ll
  llvm/tools/opt/NewPMDriver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111575.380459.patch
Type: text/x-patch
Size: 4546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/3ce93093/attachment.bin>


More information about the llvm-commits mailing list