[PATCH] D117050: [GISel] Extend code emitter to emit #undef symbol

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 13:56:14 PST 2022


Kai added a comment.

In most other cases, it is done in this way. E.g. from AArch64RegisterInfo.h:

  #define GET_REGINFO_HEADER
  #include "AArch64GenRegisterInfo.inc"

Only the GLobalISelEmitter and the GICombineEmitter don't emit the `#undef`, which I found confusing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117050



More information about the llvm-commits mailing list