[PATCH] D68057: [mips] Relax jalr/jr instructions using R_MIPS_JALR relocation

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 15:29:21 PDT 2019


jrtc27 added inline comments.


================
Comment at: lld/ELF/Arch/Mips.cpp:645
+    // offset fits into the 18-bit range.
+    if ((int64_t)val == llvm::SignExtend64(val, 18)) {
+      switch (read32<e>(loc)) {
----------------
`isInt<18>(val)`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68057





More information about the llvm-commits mailing list