[llvm] [AArch64] Remove dangling function declaration in AArch64PointerAuth (PR #185439)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 09:08:04 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-aarch64

Author: Victor Campos (vhscampos)

<details>
<summary>Changes</summary>

Function `checkAuthenticatedLR` was declared but not defined anywhere.

This patch removes the dangling declaration.

---
Full diff: https://github.com/llvm/llvm-project/pull/185439.diff


1 Files Affected:

- (modified) llvm/lib/Target/AArch64/AArch64PointerAuth.cpp (-2) 


``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp b/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
index 517b8a4c1737b..f6e7d6e88161a 100644
--- a/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
+++ b/llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
@@ -42,8 +42,6 @@ class AArch64PointerAuth : public MachineFunctionPass {
 
   void authenticateLR(MachineFunction &MF,
                       MachineBasicBlock::iterator MBBI) const;
-
-  bool checkAuthenticatedLR(MachineBasicBlock::iterator TI) const;
 };
 
 } // end anonymous namespace

``````````

</details>


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


More information about the llvm-commits mailing list