[TableGen] Enhance !empty and !size to handle strings and DAGs.
authorPaul C. Anagnostopoulos <paul@windfall.com>
Sun, 18 Oct 2020 14:47:07 +0000 (10:47 -0400)
committerPaul C. Anagnostopoulos <paul@windfall.com>
Mon, 19 Oct 2020 13:22:20 +0000 (09:22 -0400)
commitdc5d6632b0c25cc5c057325c517f28575452d602
treec5c5d51b43f951efc45f246df883b959cfbcf8d0
parent13e22961f8b45fb76e6d60c0f987a07009815f02
[TableGen] Enhance !empty and !size to handle strings and DAGs.
Fix bug in the type checking for !empty, !head, !size, !tail.
llvm/docs/TableGen/ProgRef.rst
llvm/lib/TableGen/Record.cpp
llvm/lib/TableGen/TGParser.cpp
llvm/test/TableGen/empty.td [new file with mode: 0644]
llvm/test/TableGen/size.td