[llvm-commits] CVS: llvm/lib/Target/README.txt

Chris Lattner lattner at cs.uiuc.edu
Thu Mar 2 14:34:49 PST 2006



Changes in directory llvm/lib/Target:

README.txt updated: 1.8 -> 1.9
---
Log message:

add a note


---
Diffs of the changes:  (+7 -0)

 README.txt |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.8 llvm/lib/Target/README.txt:1.9
--- llvm/lib/Target/README.txt:1.8	Tue Feb 21 12:29:44 2006
+++ llvm/lib/Target/README.txt	Thu Mar  2 16:34:38 2006
@@ -79,3 +79,10 @@
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25600
 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.






More information about the llvm-commits mailing list