Displaying 1 result from an estimated 1 matches for "cf6c718a".
2015 Jun 26
3
[LLVMdev] bitwise ops on booleans
Hi Language Lawyers!
In PR23827 ( https://llvm.org/bugs/show_bug.cgi?id=23827 ), a bitwise op on
booleans is considered equivalent to a logical op:
if ((x < 3) & (y > 10))
effectively becomes:
if ((x < 3) && (y > 10))
where x and y are of type 'int'. The second statement (&&) requires
short-circuit evaluation to bypass the y comparison when the x