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

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 11:04:16 PST 2024


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

we can have more than 2 operands for both !and & !or. They're turned in to something like `!and(!and(a, b), c)` underlying and implemented with BinOpInit.

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


More information about the llvm-commits mailing list