[llvm] [TableGen] Avoid evaluating RHS of a BinOp until short-circuit is complete (PR #144021)

Jason Eckhardt via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 13 07:43:13 PDT 2025


================
@@ -67,13 +67,18 @@ def rec7 {
   bits<3> flags = { true, false, true };
 }
 
-// `!and` and `!or` should be short-circuit such that `!tail` on empty list will never
-// be evaluated.
+// `!and` and `!or` should be short-circuit such that any of the `!head` or
----------------
nvjle wrote:

Micronit: `short-circuit` -> `short-circuited`.

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


More information about the llvm-commits mailing list