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

Gergely Bálint via All-commits all-commits at lists.llvm.org
Mon Nov 24 09:01:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bab1c2971a31f032a6c353a0076d16e564ab50fa
      https://github.com/llvm/llvm-project/commit/bab1c2971a31f032a6c353a0076d16e564ab50fa
  Author: Gergely Bálint <gergely.balint at arm.com>
  Date:   2025-11-24 (Mon, 24 Nov 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
    A bolt/test/AArch64/inline-armv8.3-tailcall.s
    A bolt/test/AArch64/inline-pauth-lr.s

  Log Message:
  -----------
  [BOLT] Extend Inliner to work on functions with Pointer Authentication (#162458)

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 authenticating 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.



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