[llvm] Port Swift's merge function pass to llvm: merging functions that differ in constants (PR #68235)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 10:09:24 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";
----------------
eeckstein wrote:

I think so. Thanks!

https://github.com/llvm/llvm-project/pull/68235


More information about the llvm-commits mailing list