[all-commits] [llvm/llvm-project] cc7bb7: [FuncSpec] Relax restrictions on candidates for sp...
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Thu Apr 20 04:10:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc7bb7080fc8e6f4d217e7f9b971fbdbf091f9e7
https://github.com/llvm/llvm-project/commit/cc7bb7080fc8e6f4d217e7f9b971fbdbf091f9e7
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
A llvm/test/Transforms/FunctionSpecialization/non-argument-tracked.ll
Log Message:
-----------
[FuncSpec] Relax restrictions on candidates for specialisation
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.
Reviewed By: labrinea, ChuanqiXu
Differential Revision: https://reviews.llvm.org/D148345
More information about the All-commits
mailing list