add a note

llvm-svn: 62760
This commit is contained in:
Chris Lattner 2009-01-22 07:16:03 +00:00
parent bed6be62e4
commit 705ac7082b
1 changed files with 10 additions and 0 deletions

View File

@ -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?
//===---------------------------------------------------------------------===//