[PATCH] D140727: [XRay] Add initial support for loongarch64

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 11 09:56:03 PDT 2023


MaskRay added inline comments.


================
Comment at: compiler-rt/lib/xray/xray_loongarch64.cpp:30
+// are 2RI12-type and 2RI16-type.
+inline static uint32_t
+encodeInstruction2RIx(uint32_t Opcode, uint32_t Rd, uint32_t Rj,
----------------
Early xray code unfortunately does not respect the conventional style that well.
The usual order is `static inline`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140727



More information about the cfe-commits mailing list