Displaying 2 results from an estimated 2 matches for "5369c031".
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
2015 Jun 26
2
[LLVMdev] [cfe-dev] bitwise ops on booleans
...se transform.
The programmer may have more knowledge about the predictability of a
specific branch and would like a way to specify that to the compiler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150626/5369c031/attachment.html>