[llvm] [BOLT] Extend Inliner to work on functions with Pointer Autentication (PR #162458)
Peter Waller via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 05:14:57 PST 2025
================
@@ -313,6 +313,19 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
Inst.getOpcode() == AArch64::RETABSPPCr;
}
+ void createMatchingAuth(const MCInst &AuthAndRet, MCInst &Auth) override {
+ switch (AuthAndRet.getOpcode()) {
----------------
peterwaller-arm wrote:
I see you commented on the removal in the commit message. I'd suggest keeping the clear even if it is currently a nop, since looking at other instruction helpers they do use it, and at some point in the future it may become needed. Also if anyone gets unlucky and has a use case which involves reusing an existing buffer, it may contain some other ops which still need clearing.
https://github.com/llvm/llvm-project/pull/162458
More information about the llvm-commits
mailing list