[all-commits] [llvm/llvm-project] d51e34: [LazyCallGraph] Ignore empty RefSCCs rather than s...

aeubanks via All-commits all-commits at lists.llvm.org
Fri Jan 7 09:46:54 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d51e3474e060cb0e90dc2e2487f778b0d3e6a8de
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-01-07 (Fri, 07 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyCallGraph.h
    M llvm/lib/Analysis/LazyCallGraph.cpp

  Log Message:
  [LazyCallGraph] Ignore empty RefSCCs rather than shift RefSCCs when removing dead functions

This is in preparation for D115545 which attempts to delete discardable functions if they are unused. With that change, shifting RefSCCs becomes noticeable in compile time. This change makes the LCG update negligible again.

Reviewed By: nikic

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

More information about the All-commits mailing list