[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 12:32:17 PDT 2022


mingmingl added a comment.

In D124949#3491912 <https://reviews.llvm.org/D124949#3491912>, @dmgreen wrote:

> Do you plan to add LLVM_DEBUG statements? If so it probably makes sense to add the DEBUG_TYPE when they are added. As far as I understand, it doesn't do much on it's own :)

Ah this is a good point.

I had a command like `llc -O3 -march=aarch64 -debug -debug-only=isel,aarch64-isel,selectiondag,legalizedag,<aarch64-instr-info-to-be-added>` to dump the logs that are related, but I didn't realize this cpp doesn't have LLVM_DEBUG at this point. Makes sense to add DEBUT_TYPE until there are LLVM_DEBUG statements needed.

Will abandon this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124949



More information about the llvm-commits mailing list