[llvm] [TableGen] Make `!and` short-circuit when either of the operand is zero (PR #113963)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 19:00:55 PDT 2024
jurahul wrote:
I had that concern as well, but I thought these lhs and rhs expressions are
not side effecting (modulo error checkin). Or do you propose adding short
circuit variants?
On Mon, Oct 28, 2024 at 5:43 PM Paul C. Anagnostopoulos <
***@***.***> wrote:
> !and and !or are bitwise operators that take an arbitrary number of
> arguments. Given that they are not documented to short-circuit, isn't this
> an incompatible change?
>
> (It's been awhile, so my memory may be failing me.)
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/llvm/llvm-project/pull/113963#issuecomment-2442938801>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APRMUB354BKDXHUOA3UPSHTZ53K4VAVCNFSM6AAAAABQYLEIAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSHEZTQOBQGE>
> .
> You are receiving this because your review was requested.Message ID:
> ***@***.***>
>
https://github.com/llvm/llvm-project/pull/113963
More information about the llvm-commits
mailing list