summaryrefslogtreecommitdiff
path: root/lib/Target/README.txt
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-02-17 08:16:56 +0000
committerDuncan Sands <baldrick@free.fr>2011-02-17 08:16:56 +0000
commitfe167c5a145d00a35b980993a514f9056eeefed8 (patch)
treef6fc68efd59aa46586ac72ed0d13d786a84c15ef /lib/Target/README.txt
parenta77243300ba1a40c80c0f8417ba74bb76e7de279 (diff)
downloadllvm-fe167c5a145d00a35b980993a514f9056eeefed8.tar.gz
llvm-fe167c5a145d00a35b980993a514f9056eeefed8.tar.bz2
llvm-fe167c5a145d00a35b980993a514f9056eeefed8.tar.xz
This has been implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r--lib/Target/README.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 1a33aa8ed8..4e14fbbb09 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -2225,16 +2225,6 @@ avoids partial register stalls in some important cases.
//===---------------------------------------------------------------------===//
-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: