[PATCH] D120545: [LoongArch] Add EncoderMethod to unusual' immediate operand

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 15:17:28 PST 2022


myhsu added inline comments.


================
Comment at: llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp:55
+
+  unsigned getImmOpValueSub1(const MCInst &MI, unsigned OpNo,
+                             SmallVectorImpl<MCFixup> &Fixups,
----------------
are these two functions dedicated to the `unusual` immediate you mentioned in another patch? If so, can you add some description comments here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120545



More information about the llvm-commits mailing list