[PATCH] D36911: TableGen: Add --gen-register-info-debug-dump

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 18:28:45 PDT 2017


MatzeB created this revision.
Herald added a subscriber: mcrosier.

Adds a new --gen-register-info-debug-dump mode to tablegen that dumps various register related information:

- List of register classes with super and subclasses
- List of subregister indexes with lanemasks
- List of registers with subregisters

I will use this in an upcoming commit to create a test.
It may also be useful for target developers wanting to get an overview of all the register related information, esp. the things inferred by tablegen and not directly visible in the .td file.


Repository:
  rL LLVM

https://reviews.llvm.org/D36911

Files:
  utils/TableGen/RegisterInfoEmitter.cpp
  utils/TableGen/TableGen.cpp
  utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36911.111785.patch
Type: text/x-patch
Size: 5317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170819/c00e9f4e/attachment.bin>


More information about the llvm-commits mailing list