[PATCH] D152799: [FuncSpec] Promote stack values before specialization
Alexandros Lamprineas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 03:50:20 PDT 2023
labrinea created this revision.
labrinea added reviewers: ChuanqiXu, chill, mtsamis.
Herald added subscribers: hoy, ormris, hiraditya.
Herald added a project: All.
labrinea requested review of this revision.
Herald added a project: LLVM.
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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152799
Files:
llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
llvm/test/Transforms/FunctionSpecialization/promoteContantStackValues.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152799.530853.patch
Type: text/x-patch
Size: 12654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230613/45cee64e/attachment.bin>
More information about the llvm-commits
mailing list