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 | 256baa4b1fbccfea33409185da5db2919e3b90fd (patch) | |
tree | eb69c29ac4a645062527540066ed892c9303f7ca /lib/Target/README.txt | |
parent | 1c2ad9ff86ce63284f4b7a259c215830e73ba482 (diff) | |
download | llvm-256baa4b1fbccfea33409185da5db2919e3b90fd.tar.gz llvm-256baa4b1fbccfea33409185da5db2919e3b90fd.tar.bz2 llvm-256baa4b1fbccfea33409185da5db2919e3b90fd.tar.xz |
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r-- | lib/Target/README.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 756f38a649..c679fd83c0 100644 --- a/lib/Target/README.txt +++ b/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? + +//===---------------------------------------------------------------------===// + |