[llvm] [TableGen] Make `!and` and `!or` short-circuit (PR #113963)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 10:50:20 PST 2024


================
@@ -1646,7 +1646,8 @@ and non-0 as true.
 ``!and(``\ *a*\ ``,`` *b*\ ``, ...)``
----------------
jurahul wrote:

It seems this document is misleading, in the sense the !and/!or are binary operators in TableGen, but the syntax suggests that it can be > 2 operands. Something we need to fix (in a separate PR)? 

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


More information about the llvm-commits mailing list