[llvm] [Tablegen] Add keyword `dump`. (PR #68793)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 12 16:53:20 PDT 2023
================
@@ -806,9 +806,12 @@ Init *UnOpInit::Fold(Record *CurRec, bool IsFinal) const {
OS << *Def->getDef();
OS.flush();
return StringInit::get(RK, S);
- }
- // Otherwise, print the value of the variable.
- else {
+ } else {
+ // Otherwise, print the value of the variable.
+ //
+ // NOTE: we could look recursively !repr the elements of a
+ // list, but that could produce a lot of output when printing
+ // a defset.
----------------
Artem-B wrote:
I think "look" is out of place here.
https://github.com/llvm/llvm-project/pull/68793
More information about the llvm-commits
mailing list