[PATCH] D134600: [RISCV][LLD] Add RISCV zcmt optimise in linker relaxation

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 11:24:27 PDT 2023


MaskRay added a comment.

In D134600#4289590 <https://reviews.llvm.org/D134600#4289590>, @VincentWu wrote:

> extend the size of InputSection

Why is this change? `InputSection` may have millions of instances for a large link. Increasing a word may increase the peak memory usage by 1%. We should strive to avoid it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134600/new/

https://reviews.llvm.org/D134600



More information about the llvm-commits mailing list