Add a note.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-07-14 00:19:59 +00:00
parent fdb19e5887
commit 10c5d36ca9

View 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.
//===---------------------------------------------------------------------===//