[all-commits] [llvm/llvm-project] 757e04: [Inliner] Don't removeDeadConstantUsers() when che...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Jan 13 14:38:07 PST 2022


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

  Changed paths:
    M llvm/include/llvm/IR/Constant.h
    M llvm/lib/Analysis/LazyCallGraph.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp

  Log Message:
  -----------
  [Inliner] Don't removeDeadConstantUsers() when checking if a function is dead

If a function has many uses, this can take a good chunk of compile times.

Reviewed By: nikic

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




More information about the All-commits mailing list