From c20995e070ff96da2d4698b67827a99f4a3bbb43 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 11 Mar 2006 20:17:08 +0000 Subject: [PATCH] add a note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26708 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/README.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index d92f9c99062..f77fbc2eea7 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); } -- 2.34.1