[PATCH] D31951: TableGen support for parametrized register class information

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 11:11:36 PDT 2017


kparzysz marked 34 inline comments as done.
kparzysz added inline comments.


================
Comment at: utils/TableGen/InfoByHwMode.cpp:112-115
+#ifndef NDEBUG
+  if (!Rec->isSubClassOf("ValueType"))
+    Rec->dump();
+#endif
----------------
sdardis wrote:
> Is this debugging code left over from development?
No, this is actually intended to show which record caused the problem.  Since it shows information that is internal to TableGen, it's disabled in a release build (as it's probably of little value to people other than compiler developers).


Repository:
  rL LLVM

https://reviews.llvm.org/D31951





More information about the llvm-commits mailing list