llvm-project
f1bf3f21 - [bolt] Simplify rodata/literal load for X86_64 & AArch64 (#179474)

Commit
13 days ago
[bolt] Simplify rodata/literal load for X86_64 & AArch64 (#179474) This patch fixed the issue related to load literal for AArch64, where constant island move to the end of a function (emitCI), available address range for ldr instruction is limited +/- 1MB, and can be out of range. For AArch64 the available data sizes are 4, 8 bytes. For X86_64 this patch materializes the constants with sizes 2, 4 and 8 bytes. Note: SimplifyRODataLoads is turn off for non-relocation binary Co-authored-by: yavtuk <yavtuk@ya.ru>
Author
Parents
Loading