[all-commits] [llvm/llvm-project] 338303: [FuncSpec] Remove definitions of fully specialized...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Tue Mar 1 04:12:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33830326aadb928e304942015b63d5ed38073211
      https://github.com/llvm/llvm-project/commit/33830326aadb928e304942015b63d5ed38073211
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2022-03-01 (Tue, 01 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression3.ll
    M llvm/test/Transforms/FunctionSpecialization/function-specialization.ll
    M llvm/test/Transforms/FunctionSpecialization/function-specialization3.ll
    M llvm/test/Transforms/FunctionSpecialization/function-specialization4.ll
    A llvm/test/Transforms/FunctionSpecialization/remove-dead-recursive-function.ll

  Log Message:
  -----------
  [FuncSpec] Remove definitions of fully specialized functions.

A function is basically dead when:
 * it has no uses
 * it has only self-referencing uses (it's recursive)

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




More information about the All-commits mailing list