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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 18:27:34 PDT 2023


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

One nit about the test.



================
Comment at: llvm/test/CodeGen/LoongArch/xray-attribute-instrumentation.ll:24
+; CHECK-NEXT: .Lxray_sleds_start0:
+; CHECK-NEXT: .Ltmp0:
+; CHECK-NEXT: .dword .Lxray_sled_begin0-.Ltmp0
----------------
See `llvm/test/CodeGen/X86/xray-attribute-instrumentation.ll`. I use something like `[[TMP:.Ltmp[0-9]+]]:` so that we don't need to adjust the test if the compiler happens to produce more `.Ltmp*` symbols.


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