[PATCH] D148345: [FuncSpec] Relax restrictions on candidates for specialisation
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 14 07:50:31 PDT 2023
chill created this revision.
Herald added subscribers: snehasish, ormris, hiraditya.
Herald added a project: All.
chill requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Allow a function to be specialised even if it has its address taken or
it's global. For such functions, consider all of the arguments as
overdefined. Don't delete the functions even if all the apparent calls
were redirected to specialised instances.
https://reviews.llvm.org/D148345
Files:
llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
llvm/test/Transforms/FunctionSpecialization/non-argument-tracked.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148345.513597.patch
Type: text/x-patch
Size: 4342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/40f981a6/attachment.bin>
More information about the llvm-commits
mailing list