[PATCH] D124949: [AArch64-instr-info] Define a DEBUG_TYPE for AArch64-instr-info.
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 11:24:00 PDT 2022
mingmingl created this revision.
mingmingl added reviewers: adriantong1024, Carrot.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
mingmingl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
In this way, we could use `llc -debug-only=aarch64-instr-info <file.ll>` to see the LLVM_DEBUG logs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124949
Files:
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Index: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -53,6 +53,8 @@
using namespace llvm;
+#define DEBUG_TYPE "aarch64-instr-info"
+
#define GET_INSTRINFO_CTOR_DTOR
#include "AArch64GenInstrInfo.inc"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124949.427076.patch
Type: text/x-patch
Size: 377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220504/d1223b1a/attachment.bin>
More information about the llvm-commits
mailing list