[all-commits] [llvm/llvm-project] ad2339: [BOLT] Extend Inliner to work on functions with Po...
Gergely Bálint via All-commits
all-commits at lists.llvm.org
Mon Oct 20 02:54:36 PDT 2025
Branch: refs/heads/users/bgergely0/bolt-inliner-pauth
Home: https://github.com/llvm/llvm-project
Commit: ad23391cd09a731cd89f51640dde2d8261854f67
https://github.com/llvm/llvm-project/commit/ad23391cd09a731cd89f51640dde2d8261854f67
Author: Gergely Balint <gergely.balint at arm.com>
Date: 2025-10-20 (Mon, 20 Oct 2025)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
A bolt/test/AArch64/inline-armv8.3-returns.s
Log Message:
-----------
[BOLT] Extend Inliner to work on functions with Pointer Autentication
The inliner uses DirectSP to check if a function has instructions that
modify the SP. Exceptions are stack Push and Pop instructions.
We can also allow pointer signing and authentication instructions.
The inliner removes the Return instructions from the inlined functions.
If it is a fused pointer-authentication-and-return (e.g. RETAA), we have
to generate a new authentication instruction in place of the Return.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list