[all-commits] [llvm/llvm-project] af9bdc: [BOLT] Align constant islands to 8 bytes

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Sun Mar 27 12:48:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af9bdcfc46ef73179797ebd406ab413cd047a8c7
      https://github.com/llvm/llvm-project/commit/af9bdcfc46ef73179797ebd406ab413cd047a8c7
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-03-27 (Sun, 27 Mar 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Passes/LongJmp.cpp
    A bolt/test/AArch64/constant-island-alignment.s
    M bolt/test/runtime/AArch64/adrrelaxationpass.s

  Log Message:
  -----------
  [BOLT] Align constant islands to 8 bytes

AArch64 requires CI to be aligned to 8 bytes due to access instructions
restrictions. E.g. the ldr with imm, where imm must be aligned to 8 bytes.

Differential Revision: https://reviews.llvm.org/D122065




More information about the All-commits mailing list