mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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:
parent
fdb19e5887
commit
10c5d36ca9
@ -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.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user