[PATCH] D154604: [BOLT] Calculate output values using BOLTLinker

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 00:34:26 PDT 2023


jobnoorman added a comment.

In D154604#4611404 <https://reviews.llvm.org/D154604#4611404>, @maksfb wrote:

> LGTM. Could you please add a test case using `.space`/`.skip` asm directive to trigger the linker relaxation on RISC-V?

In the current state, I think it's impossible to trigger linker relaxation because 1) we don't pass the correct features yet when creating `MCSubtargetInfo`, and 2) BOLT will never output any relaxable instructions. Do you think it's ok to wait with this test case until I submit a patch for linker relaxation support in BOLT?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154604



More information about the llvm-commits mailing list