[all-commits] [llvm/llvm-project] 620681: [BOLT][AArch64] Fix ADR relaxation (#71835)

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Thu Nov 9 23:48:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62068173807e60eda49dd1f05ff2d6b48640d943
      https://github.com/llvm/llvm-project/commit/62068173807e60eda49dd1f05ff2d6b48640d943
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M bolt/lib/Passes/ADRRelaxationPass.cpp

  Log Message:
  -----------
  [BOLT][AArch64] Fix ADR relaxation (#71835)

Currently we have an optimization that if the ADR points to the same
function we might skip it's relaxation. But it doesn't take into account
that BF might be split, in such situation we still need to relax it. And
just in case also relax if the initial BF size is >= 1MB.
Fixes #71822




More information about the All-commits mailing list