[PATCH] D105761: [lld][AMDGPU] Handle R_AMDGPU_REL16 relocation.

Tony Tye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 13 17:03:06 PDT 2021


t-tye added inline comments.


================
Comment at: lld/ELF/Arch/AMDGPU.cpp:142
     break;
+  case R_AMDGPU_REL16: {
+    int64_t simm = (static_cast<int64_t>(val) - 4) / 4;
----------------
Is there documentation for this relocation in AMDGPUUsage.rst?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105761



More information about the llvm-commits mailing list