[all-commits] [llvm/llvm-project] cca66a: [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (#...

Gergely Bálint via All-commits all-commits at lists.llvm.org
Wed Nov 26 08:48:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cca66a21c20537171712b3adf35b4b82de5f2ad5
      https://github.com/llvm/llvm-project/commit/cca66a21c20537171712b3adf35b4b82de5f2ad5
  Author: Gergely Bálint <gergely.balint at arm.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/unittests/Core/MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (#167308)

Checks if an instruction is BTI, and updates the immediate value to the
newly requested variant.  
  
This can be used in situations when the compiler already inserted a BTI
landing pad to a location, but BOLT needs to update it to a different
variant.
Example: br x0 to a location with a BTI c.



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