add a note
authorChris Lattner <sabre@nondot.org>
Thu, 22 Jan 2009 07:16:03 +0000 (07:16 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Jan 2009 07:16:03 +0000 (07:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62760 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 756f38a64913d78c40b8c3aeace704a3386b36fa..c679fd83c0daccfa44ae210592d635c4fb3352bb 100644 (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?
+
+//===---------------------------------------------------------------------===//
+