[llvm] [TableGen] Add a field to filter out GenericTable entries (PR #65458)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 07:08:01 PDT 2023


================
@@ -768,6 +776,7 @@ is guarded by ``GET_ATable_DECL``, while the definitions are guarded by
     { "Ted", 0x4, 0x4 }, // 2
     { "Alice", 0x4, 0x5 }, // 3
     { "Bob", 0x5, 0x3 }, // 4
+    /* { "Dale", 0x2, 0x1 }, // 5 */ // No this line as `IsNeeded` is 0.
----------------
michaelmaitland wrote:

nit:  ``// Do not generate this line as `IsNeeded` is 0.``

https://github.com/llvm/llvm-project/pull/65458


More information about the llvm-commits mailing list