diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-01-22 07:16:03 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-01-22 07:16:03 +0000 |
| commit | 705ac7082bc04df287288053bea63791d7fcd201 (patch) | |
| tree | e23aec22aada23e2ece382f99768afc0765fd9f1 /llvm/lib/Target | |
| parent | bed6be62e4eaadeaf720dd4146bf069d39a443d5 (diff) | |
| download | bcm5719-llvm-705ac7082bc04df287288053bea63791d7fcd201.tar.gz bcm5719-llvm-705ac7082bc04df287288053bea63791d7fcd201.zip | |
add a note
llvm-svn: 62760
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/README.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt index 756f38a6491..c679fd83c0d 100644 --- a/llvm/lib/Target/README.txt +++ b/llvm/lib/Target/README.txt @@ -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? + +//===---------------------------------------------------------------------===// + |

