[PATCH] D112063: [lld][ELF] Add first bits to support relocation relaxations for AArch64

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 15:27:55 PDT 2021


alexander-shaposhnikov added inline comments.


================
Comment at: lld/test/ELF/aarch64-adrp-ldr-got.s:1
+# REQUIRES: aarch64
+# RUN: split-file %s %t
----------------
peter.smith wrote:
> Can we add a test case that does the relaxation but uses something other than X0 as the ADRP and LDR destination. We may miss problems with the encodings as writing zeroes will use X0?
yeah, you are right, good catch, many thanks


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112063



More information about the llvm-commits mailing list