[all-commits] [llvm/llvm-project] d5956f: [BOLT][AArch64] Add support for short LLD thunks/v...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Tue Dec 3 13:45:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5956fb8f999e60af8bede8b17b02ca3a7b7cf4f
      https://github.com/llvm/llvm-project/commit/d5956fb8f999e60af8bede8b17b02ca3a7b7cf4f
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M bolt/lib/Passes/VeneerElimination.cpp
    M bolt/test/AArch64/veneer-lld-abs.s

  Log Message:
  -----------
  [BOLT][AArch64] Add support for short LLD thunks/veneers (#118422)

When a callee function is closer than 256MB from its call site, LLD
linker can strategically create a short thunk for the function with a
single branch instruction (that covers +/-128MB). Detect and convert
such thunks into direct calls in BOLT.



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