Add a note.
authorChris Lattner <sabre@nondot.org>
Mon, 14 Jul 2008 00:19:59 +0000 (00:19 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Jul 2008 00:19:59 +0000 (00:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53535 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 23572cd6bc58f1f0bda5cd7be10e25da07c8b50a..e9133721f48f92e602f7ae9c0653f646ebdf0f3d 100644 (file)
@@ -784,3 +784,15 @@ int test(int x_offs) {
 }
 
 //===---------------------------------------------------------------------===//
+
+Reassociate should turn things like:
+
+int factorial(int X) {
+ return X*X*X*X*X*X*X*X;
+}
+
+into llvm.powi calls, allowing the code generator to produce balanced
+multiplication trees.
+
+//===---------------------------------------------------------------------===//
+