[PATCH] D108961: [RISCV] MC relaxation for out-of-range conditional branch.

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 07:44:08 PDT 2022


StephenFan added a comment.

In D108961#3648216 <https://reviews.llvm.org/D108961#3648216>, @Zeavee wrote:

> Hello, we are currently trying to implement an LLVM backend on RISC-V for the GraalVM Native Image project and we run into some issues that are solved by this patch. In summary, we produce LLVM bitcode from Java code and feed it to llc. The problem is that we cannot really control the size of the functions and it can cause branches to out of range locations. However, this issue seems stale and controversial. Is there any news to share?

llc has branchrelaxation, doesn't it solve your problem?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108961



More information about the llvm-commits mailing list