[all-commits] [llvm/llvm-project] 052453: [FuncSpec] Enable specialization of literal consta...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Thu May 25 02:05:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0524534d5220da5ecb2cd424a46520184d2be366
      https://github.com/llvm/llvm-project/commit/0524534d5220da5ecb2cd424a46520184d2be366
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/test/Transforms/FunctionSpecialization/compiler-crash-58759.ll
    M llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression.ll
    M llvm/test/Transforms/FunctionSpecialization/function-specialization-minsize3.ll
    M llvm/test/Transforms/FunctionSpecialization/function-specialization.ll
    R llvm/test/Transforms/FunctionSpecialization/function-specialization2.ll
    M llvm/test/Transforms/FunctionSpecialization/get-possible-constants.ll
    M llvm/test/Transforms/FunctionSpecialization/global-rank.ll
    M llvm/test/Transforms/FunctionSpecialization/identical-specializations.ll
    M llvm/test/Transforms/FunctionSpecialization/literal-const.ll
    A llvm/test/Transforms/FunctionSpecialization/max-iters.ll
    M llvm/test/Transforms/FunctionSpecialization/noinline.ll
    M llvm/test/Transforms/FunctionSpecialization/remove-dead-recursive-function.ll
    M llvm/test/Transforms/FunctionSpecialization/specialize-multiple-arguments.ll
    M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp

  Log Message:
  -----------
  [FuncSpec] Enable specialization of literal constants.

To do so we have to tweak the cost model such that specialization
does not trigger excessively.

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




More information about the All-commits mailing list