[PATCH] D132530: [RISCV] Replace deprecated R_RISCV_CALL with R_RISCV_CALL_PLT

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 22:35:59 PDT 2022


MaskRay marked an inline comment as done.
MaskRay added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/branch-relaxation.ll:38
 ; CHECK-NEXT:  # %bb.3:
-; CHECK-NEXT:    jump .LBB1_2, a0
+; CHECK-NEXT:    jump .LBB1_2 at plt, a0
 ; CHECK-NEXT:  .LBB1_1: # %iftrue
----------------
jrtc27 wrote:
> This seems dodgy
This is fine. Linkers don't care whether the R_RISCV_CALL_PLT target is temporary label/local/non-preemptible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132530



More information about the llvm-commits mailing list