summaryrefslogtreecommitdiff
path: root/lib
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
commit549f27d23543c5a4ad997db2c7ee98426463c475 (patch)
tree0d0a13b03ef0883b43362587af779b61025ceb71 /lib
parentd594881a28a3351395118619176dfe42410b3c44 (diff)
downloadllvm-549f27d23543c5a4ad997db2c7ee98426463c475.tar.gz
llvm-549f27d23543c5a4ad997db2c7ee98426463c475.tar.bz2
llvm-549f27d23543c5a4ad997db2c7ee98426463c475.tar.xz
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/README.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index c369c8f243..3100b87005 100644
--- a/lib/Target/README.txt
+++ b/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.
+
+//===---------------------------------------------------------------------===//
+