[PATCH] change DAG's JumpIsExpensive check for x86 (PR23827)
Sanjay Patel
spatel at rotateright.com
Fri Jun 26 13:26:46 PDT 2015
Thanks, Chandler.
From: https://llvm.org/bugs/show_bug.cgi?id=23827#c6
"We should not encode some magical meaning to a bitwise-and"
I'd always assumed that a bitwise op caused type promotion of the bool, so it was a legitimate way to tell the compiler to avoid the branch. I've followed up with a message to the dev lists.
http://reviews.llvm.org/D10741
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list