mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c2ad9ff86
commit
256baa4b1f
@ -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…
x
Reference in New Issue
Block a user