[llvm] [bolt][aarch64] simplify rodata/literal load for X86 & AArch64 (PR #165723)
Alexey Moksyakov via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 27 11:35:00 PST 2025
================
@@ -1226,28 +1227,53 @@ bool SimplifyRODataLoads::simplifyRODataLoads(BinaryFunction &BF) {
}
// Get the contents of the section containing the target address of the
- // memory operand. We are only interested in read-only sections.
+ // memory operand. We are only interested in read-only sections for X86,
+ // for aarch64 the sections can be read-only or executable.
----------------
yavtuk wrote:
skipped pass for riscv
https://github.com/llvm/llvm-project/pull/165723
More information about the llvm-commits
mailing list