[all-commits] [llvm/llvm-project] b8ce97: [NewPM] Add PipelineTuningOption to eagerly invali...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Oct 18 13:20:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8ce97372d85ef0e6103ec8055fc5154f3bb5862
      https://github.com/llvm/llvm-project/commit/b8ce97372d85ef0e6103ec8055fc5154f3bb5862
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M llvm/lib/Analysis/CGSCCPassManager.cpp
    M llvm/lib/IR/PassManager.cpp
    A llvm/test/Other/new-pm-eager-invalidate.ll

  Log Message:
  -----------
  [NewPM] Add PipelineTuningOption to eagerly invalidate analyses

This trades off more compile time for less peak memory usage. Right now
it invalidates all function analyses after a module->function or
cgscc->function adaptor.

https://llvm-compile-time-tracker.com/compare.php?from=1fb24fe85a19ae71b00875ff6c96ef1831dcf7e3&to=cb28ddb063c87f0d5df89812ab2de9a69dd276db&stat=instructions
https://llvm-compile-time-tracker.com/compare.php?from=1fb24fe85a19ae71b00875ff6c96ef1831dcf7e3&to=cb28ddb063c87f0d5df89812ab2de9a69dd276db&stat=max-rss

For now this is just experimental.

See comments on why this may affect optimizations.

Reviewed By: asbirlea, nikic

Differential Revision: https://reviews.llvm.org/D111575




More information about the All-commits mailing list