[PATCH] D132323: [LoongArch] Port over minimal applyFixup from RISCV

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 21 19:28:15 PDT 2022


SixWeining added a comment.

Is this a WIP patch? Will you add some tests?

How about @wangleiat's opinion?



================
Comment at: llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp:80-81
+  MCFixupKindInfo Info = getFixupKindInfo(Kind);
+  if (!Value)
+    return; // Doesn't change encoding.
+  // TODO: Apply any target-specific value adjustments.
----------------
Can these 2 lines be moved before line-79?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132323



More information about the llvm-commits mailing list