[llvm] [PtrAuth] Add ConstantPtrAuth comparator to FunctionComparator.cpp (PR #159480)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 09:12:45 PDT 2025
================
@@ -0,0 +1,101 @@
+; RUN: opt -passes=mergefunc -S %s | FileCheck %s
+; Ensure MergeFunc handles ConstantPtrAuth correctly and does not
----------------
kovdan01 wrote:
Nit: it's probably worth adding a test case ensuring that the pass actually merges the functions with constant ptrauth expressions when it's possible. W/o such a test, a dummy implementation which just unconditionally disables merging of functions with such expressions would still pass the tests, which is probably not a desired thing.
Feel free to ignore.
https://github.com/llvm/llvm-project/pull/159480
More information about the llvm-commits
mailing list