aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-11 20:17:08 +0000
committerChris Lattner <sabre@nondot.org>2006-03-11 20:17:08 +0000
commitc20995e070ff96da2d4698b67827a99f4a3bbb43 (patch)
tree6006ebaa4a05e49da6c75d38f74a6feb15ef5a56
parent442b32b5c5f690bc9b49d67b3ec76008879bc4d9 (diff)
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26708 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/README.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index d92f9c9906..f77fbc2eea 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -117,6 +117,10 @@ it needs to turn the shifts into multiplies to get it.
//===---------------------------------------------------------------------===//
+Reassociate should turn: X*X*X*X -> t=(X*X) (t*t) to eliminate a multiply.
+
+//===---------------------------------------------------------------------===//
+
These two functions should generate the same code on big-endian systems:
int g(int *j,int *l) { return memcmp(j,l,4); }