[PATCH] D115860: [LoongArch 3/5] Add target stub for LoongArch

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 19 06:12:02 PST 2021


rengolin added a comment.

Minimalistic structure, seems ok.



================
Comment at: llvm/lib/Target/LoongArch/TargetInfo/LoongArchTargetInfo.h:16
+
+Target &getTheLA32Target();
+Target &getTheLA64Target();
----------------
These functions usually contain the whole name of the targets, so I suggest:

    &getTheLoongArch32Target();
    &getTheLoongArch64Target();


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115860



More information about the llvm-commits mailing list