[all-commits] [llvm/llvm-project] ce9d3f: [FuncSpec] Promote stack values before specializat...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Mon Jun 19 06:38:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce9d3f09b4b2a2ae229c3e1f56f27cd31bc4660c
      https://github.com/llvm/llvm-project/commit/ce9d3f09b4b2a2ae229c3e1f56f27cd31bc4660c
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    R llvm/test/Transforms/FunctionSpecialization/function-specialization-recursive.ll
    A llvm/test/Transforms/FunctionSpecialization/promoteContantStackValues.ll

  Log Message:
  -----------
  [FuncSpec] Promote stack values before specialization.

After each iteration of the function specializer, constant stack values
are promoted to constant globals in order to enable recursive function
specialization. This should also be done once before running the
specializer. Enables specialization of _QMbrute_forcePdigits_2 from
SPEC2017:548.exchange2_r.

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




More information about the All-commits mailing list