[PATCH] D147132: [FuncSpec] Replace markArgInFuncSpecialization with handleCallArguments.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 03:16:43 PDT 2023


labrinea created this revision.
labrinea added reviewers: ChuanqiXu, chill, SjoerdMeijer.
Herald added subscribers: snehasish, ormris, hiraditya.
Herald added a project: All.
labrinea requested review of this revision.
Herald added a project: LLVM.

This will propagate constant arguments to the body of specializations that we would have otherwise missed, i.e literal constants since specializing such arguments is disabled by default.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147132

Files:
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/test/Transforms/FunctionSpecialization/identical-specializations.ll
  llvm/test/Transforms/FunctionSpecialization/specialize-multiple-arguments.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147132.509280.patch
Type: text/x-patch
Size: 10198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230329/e3924279/attachment.bin>


More information about the llvm-commits mailing list