[PATCH] D150220: [lld]: Fix RISC-V relaxation bug

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 13 02:32:11 PDT 2023


jobnoorman added a comment.

This seems to have been (accidentally) fixed by D149735 <https://reviews.llvm.org/D149735>: symbol values are not calculated anymore by repeated subtraction (which caused this bug) but always overwritten with their new value (which fixes this).

@kishore-rivos: this patch is based on an old LLVM version where D149735 <https://reviews.llvm.org/D149735> wasn't landed yet. Could you try updating your local copy?

It could still make sense to filter-out symbol aliases for performance reasons I suppose.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150220



More information about the llvm-commits mailing list