[PATCH] D125036: [RISCV] Alignment relaxation

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 14:38:01 PDT 2022


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

- open code the trivial getter/setter functions atop `R_RISCV_ALIGN`'s `Relocation::addend` for align boundary & nop byte count.


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.429859.patch
Type: text/x-patch
Size: 19899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220516/97cd68e7/attachment.bin>


More information about the llvm-commits mailing list