summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-07 02:46:26 +0000
committerChris Lattner <sabre@nondot.org>2006-03-07 02:46:26 +0000
commitbccb0e07f01e480ddb261d539fb31155a229d9cb (patch)
treeb6dd73d08a51cd91a28c550c609ee96e56ad2745 /llvm/lib/Target
parenta4a4ceb4786f1a5a0c1d6e8fa6e36393caf88b18 (diff)
downloadbcm5719-llvm-bccb0e07f01e480ddb261d539fb31155a229d9cb.tar.gz
bcm5719-llvm-bccb0e07f01e480ddb261d539fb31155a229d9cb.zip
add a note
llvm-svn: 26583
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/README.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index c369c8f2434..3100b87005e 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -106,3 +106,14 @@ This would be a win on ppc32, but not x86 or ppc64.
Shrink: (setlt (loadi32 P), 0) -> (setlt (loadi8 Phi), 0)
//===---------------------------------------------------------------------===//
+
+Reassociate is missing this:
+
+int test(int X, int Y) {
+ return (X+X+Y+Y); // (X+Y) << 1;
+}
+
+it needs to turn the shifts into multiplies to get it.
+
+//===---------------------------------------------------------------------===//
+
OpenPOWER on IntegriCloud