mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 02:28:23 +00:00
add a note
llvm-svn: 62760
This commit is contained in:
parent
d3b233ba51
commit
fcf56e7fbe
@ -1673,3 +1673,13 @@ while it could get this:
|
||||
sarl $5, %eax
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
GCC PR31029:
|
||||
|
||||
int test(int x) { return 1-x == x; } // --> return false
|
||||
int test2(int x) { return 2-x == x; } // --> return x == 1 ?
|
||||
|
||||
Always foldable for odd constants, what is the rule for even?
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user