[PATCH] D68065: Propeller: LLD Support for Basic Block Sections
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 02:59:05 PDT 2019
ruiu added a comment.
In D68065#1683857 <https://reviews.llvm.org/D68065#1683857>, @PkmX wrote:
> In D68065#1683706 <https://reviews.llvm.org/D68065#1683706>, @MaskRay wrote:
>
> > The shrinking section nature may be similar to R_RISCV_RELAX as used by RISC-V. The RISC-V port of binutils ld.bfd has a similar routine to change section sizes and update symbol values. @PkmX and I haven't implemented the relaxation in the lld RISC-V work. This patch inspires me to explore more on the possibility to implement section shrinking and make it general. I don't like the binutils implementation because it is quadratic about several variables.
>
>
> RISC-V relaxation would require a more complicated framework since relaxation can happen in the middle of sections, but it is still possible to do it in a mostly linear fashion.
Does that happen even in a middle of a basic block?
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68065/new/
https://reviews.llvm.org/D68065
More information about the llvm-commits
mailing list