diff options
author | YongKang Zhu <yongzhu@fb.com> | 2025-09-25 13:23:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-25 13:23:42 -0700 |
commit | 1e302e942cdbb2db902530144d0c3891f811168b (patch) | |
tree | 32414821dad8c81557ff0677a69e89a534e713ae /llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp | |
parent | 9e6fa3954006dd496440e4355c2ae75ea43cb80e (diff) | |
download | llvm-1e302e942cdbb2db902530144d0c3891f811168b.zip llvm-1e302e942cdbb2db902530144d0c3891f811168b.tar.gz llvm-1e302e942cdbb2db902530144d0c3891f811168b.tar.bz2 |
[BOLT] Add heuristics to determine constant island's alignment (#159486)
Constant island embedded in text section doesn't have its alignment
information from input binary and we currently set its alignment as
8 bytes. Constant island might be given a much larger alignment due
to performance or other reasons, so this change adds some heuristics
to determine its alignment based on its size, original address from
input binary and its owning section's alignment.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp')
0 files changed, 0 insertions, 0 deletions