[llvm] [Tablegen] Add keyword `dump`. (PR #68793)
Francesco Petrogalli via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 02:10:12 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.
----------------
fpetrogalli wrote:
```suggestion
// NOTE: we could recursively !repr the elements of a list,
// but that could produce a lot of output when printing a
// defset.
```
https://github.com/llvm/llvm-project/pull/68793
More information about the llvm-commits
mailing list