[PATCH] D127220: [BOLT][AArch64] Preserve in text object alignment

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 08:29:29 PDT 2022


yota9 created this revision.
yota9 added reviewers: maksfb, rafauler, Amir.
Herald added subscribers: ayermolo, kristof.beyls.
Herald added a project: All.
yota9 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Some of the rare cases like openssl's KeccakF1600_int has a cycle that
breaks when the address stored in register is aligned on the object
size. To support such cases we need to preserve initial object alignment
and align the CI in case the object was inlined into function.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127220

Files:
  bolt/include/bolt/Core/BinaryFunction.h
  bolt/lib/Core/BinaryEmitter.cpp
  bolt/lib/Passes/Aligner.cpp
  bolt/test/AArch64/object-in-code-alignment.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127220.434829.patch
Type: text/x-patch
Size: 4316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/fac56a67/attachment.bin>


More information about the llvm-commits mailing list