[PATCH] D125036: [RISCV] Alignment relaxation

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 12:46:55 PDT 2022


gkm updated this revision to Diff 429051.
gkm added a comment.

Refactor ...

- s/`DeleteRanges`/`AdjustRanges`/: these can now handle deletion and insertion, supporting multiple-pass relaxation where alignment padding can expand, and/or relaxations can be undone
- Build framework for adding more relaxation types in later diffs
- Add comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125036

Files:
  lld/ELF/Arch/RISCV.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/ELF/Relocations.cpp
  lld/ELF/Relocations.h
  lld/ELF/Target.h
  lld/ELF/Writer.cpp
  lld/test/ELF/riscv-relax-align-rvc.s
  lld/test/ELF/riscv-relax-align.s
  lld/test/ELF/riscv-relax-syms.s
  lld/test/ELF/riscv-reloc-align.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125036.429051.patch
Type: text/x-patch
Size: 19798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220512/cda65da1/attachment.bin>


More information about the llvm-commits mailing list