[PATCH] D102284: [Object] Add IsSectionReadOnly section interface
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 12 11:58:58 PDT 2021
rafauler added a comment.
Hi folks, this patch is part of an effort to bring BOLT to the LLVM repo, so the use case comes from BOLT.
The main use case for this is here:
https://github.com/facebookincubator/BOLT/blob/rebased/bolt/src/Passes/BinaryPasses.cpp#L1100
This is a pass that checks for a memory load instruction that is accessing a read-only section, and converts it into "load immediate" to save a data memory access.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102284/new/
https://reviews.llvm.org/D102284
More information about the llvm-commits
mailing list