[all-commits] [llvm/llvm-project] bf5221: [NFC][LazyCallGraph] Remove check in removeDeadFun...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Jan 11 10:17:33 PST 2022


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

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

  Log Message:
  -----------
  [NFC][LazyCallGraph] Remove check in removeDeadFunction() if graph is empty

If we're in removeDeadFunction(), we should have already constructed the call graph.

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




More information about the All-commits mailing list