[PATCH] D116573: [jitlink] add R_RISCV_BRANCH to jitlink

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 6 02:36:27 PST 2022


StephenFan added inline comments.


================
Comment at: llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp:167
+                            const Edge &E) {
+  if ((v & (n - 1)) != 0)
+    return make_error<JITLinkError>("0x" + llvm::utohexstr(loc.getValue()) +
----------------
More concise.


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

https://reviews.llvm.org/D116573



More information about the llvm-commits mailing list