summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-13 06:52:22 +0000
committerChris Lattner <sabre@nondot.org>2006-03-13 06:52:22 +0000
commitfe4c7fb7ae934d1d2edf51b9ca762d378e2a2b77 (patch)
treef1c38b7aa3d307ba6fb1be256215b70f8fe0030f
parentd8c2a48d58e635db6c58111df76b092ac99bdd71 (diff)
downloadbcm5719-llvm-fe4c7fb7ae934d1d2edf51b9ca762d378e2a2b77.tar.gz
bcm5719-llvm-fe4c7fb7ae934d1d2edf51b9ca762d378e2a2b77.zip
remove two implemented items
llvm-svn: 26728
-rw-r--r--llvm/lib/Target/README.txt22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index 220bd9e5208..a28486091cb 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -56,20 +56,6 @@ Number 1 is the preferred solution.
//===---------------------------------------------------------------------===//
-DAG combine this into mul A, 8:
-
-int %test(int %A) {
- %B = mul int %A, 8 ;; shift
- %C = add int %B, 7 ;; dead, no demanded bits.
- %D = and int %C, -8 ;; dead once add is gone.
- ret int %D
-}
-
-This sort of thing occurs in the alloca lowering code and other places that
-are generating alignment of an already aligned value.
-
-//===---------------------------------------------------------------------===//
-
Turn this into a signed shift right in instcombine:
int f(unsigned x) {
@@ -81,14 +67,6 @@ http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01492.html
//===---------------------------------------------------------------------===//
-We should reassociate:
-int f(int a, int b){ return a * a + 2 * a * b + b * b; }
-into:
-int f(int a, int b) { return a * (a + 2 * b) + b * b; }
-to eliminate a multiply.
-
-//===---------------------------------------------------------------------===//
-
On targets with expensive 64-bit multiply, we could LSR this:
for (i = ...; ++i) {
OpenPOWER on IntegriCloud