[llvm-commits] [llvm] r125738 - /llvm/trunk/lib/Target/README.txt

Duncan Sands baldrick at free.fr
Thu Feb 17 00:16:56 PST 2011


Author: baldrick
Date: Thu Feb 17 02:16:56 2011
New Revision: 125738

URL: http://llvm.org/viewvc/llvm-project?rev=125738&view=rev
Log:
This has been implemented.

Modified:
    llvm/trunk/lib/Target/README.txt

Modified: llvm/trunk/lib/Target/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/README.txt?rev=125738&r1=125737&r2=125738&view=diff
==============================================================================
--- llvm/trunk/lib/Target/README.txt (original)
+++ llvm/trunk/lib/Target/README.txt Thu Feb 17 02:16:56 2011
@@ -2225,16 +2225,6 @@
 
 //===---------------------------------------------------------------------===//
 
-We should fold compares like this:
-
- %1266 = add nsw i32 %.84.i.i.i, 1
- %560 = add nsw i32 %556, 1
- %1267 = icmp slt i32 %1266, %560
-
-to a single 'icmp slt' when the add's have a single use, since they are NSW.
-
-//===---------------------------------------------------------------------===//
-
 We don't fold (icmp (add) (add)) unless the two adds only have a single use.
 There are a lot of cases that we're refusing to fold in (e.g.) 256.bzip2, for
 example:





More information about the llvm-commits mailing list