[llvm] Port Swift's merge function pass to llvm: merging functions that differ in constants (PR #68235)
Manman Ren via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 10:04:27 PDT 2023
================
@@ -24,8 +24,13 @@ class Module;
/// Merge functions that differ by constants.
class MergeFuncIgnoringConstPass
: public PassInfoMixin<MergeFuncIgnoringConstPass> {
+ bool ptrAuthEnabled = false;
+ unsigned ptrAuthKey = 0;
+ std::string mergeFuncSuffix = ".Tm";
----------------
manman-ren wrote:
@eeckstein Added a parameter to pass the suffix, will that be enough for Swift?
https://github.com/llvm/llvm-project/pull/68235
More information about the llvm-commits
mailing list