[PATCH] D145374: [FuncSpec] Consider constant struct arguments when specializing.
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 10:12:27 PDT 2023
chill added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/FunctionSpecialization.cpp:678-683
// Specialization of integer and floating point types needs to be explicitly
// enabled.
if (!SpecializeLiteralConstant &&
(ArgTy->isIntegerTy() || ArgTy->isFloatingPointTy()))
return false;
----------------
Maybe delete this part?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145374/new/
https://reviews.llvm.org/D145374
More information about the llvm-commits
mailing list