[all-commits] [llvm/llvm-project] 8d8696: [BOLT][AArch64] Fix error message for failed ADR r...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Tue Jun 3 11:27:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d869637e846faacf8189742ce29e406e6424413
      https://github.com/llvm/llvm-project/commit/8d869637e846faacf8189742ce29e406e6424413
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M bolt/lib/Passes/ADRRelaxationPass.cpp
    A bolt/test/AArch64/adr-relaxation-fail.s
    M bolt/test/AArch64/adr-relaxation.s
    M bolt/test/AArch64/r_aarch64_prelxx.s
    M bolt/test/AArch64/test-indirect-branch.s
    R bolt/test/runtime/AArch64/adrrelaxationpass.s

  Log Message:
  -----------
  [BOLT][AArch64] Fix error message for failed ADR relaxation (#142533)

Do not recommend the strict mode to the user when ADR relaxation fails
on a non-simple function, i.e. a function with unknown CFG.

We cannot rely on relocations to reconstruct compiler-generated jump
tables for AArch64, hence strict mode does not work as intended.



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