[all-commits] [llvm/llvm-project] ace28f: [BOLT] Extend Inliner to work on functions with Po...

Gergely Bálint via All-commits all-commits at lists.llvm.org
Wed Oct 8 04:49:28 PDT 2025


  Branch: refs/heads/users/bgergely0/bolt-inliner-pauth
  Home:   https://github.com/llvm/llvm-project
  Commit: ace28f090d254e125eea1ac5ef1d3e13e92d5cff
      https://github.com/llvm/llvm-project/commit/ace28f090d254e125eea1ac5ef1d3e13e92d5cff
  Author: Gergely Balint <gergely.balint at arm.com>
  Date:   2025-10-08 (Wed, 08 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