[PATCH] D139915: [Clang][LoongArch] Add intrinsic for asrtle, asrtgt, lddir, ldpte and cpucfg

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 23:30:34 PST 2022


xen0n added a comment.

Linux only requires `__cpucfg` among the ones you just added. Please amend the patch summary so it's more accurate.

Otherwise LGTM, thanks!



================
Comment at: llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp:797
+    ASRT_LE_GT_CASE(asrtle_d)
+    ASRT_LE_GT_CASE(asrtgt_d)
+  case Intrinsic::loongarch_ldpte_d: {
----------------
`#undef ASRT_LE_GT_CASE` afterwards?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139915



More information about the llvm-commits mailing list