diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-27 19:11:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-27 19:11:31 +0000 |
commit | 11c6bab704a0f82f59dcb2f409f7d6ac3b1821f1 (patch) | |
tree | 274b2352759e9308594b6c57ff1ce1c014bab7ad /include/llvm/System/Process.h | |
parent | 9a5c22cc5e741bc3022366e85825ba99236027ed (diff) | |
download | external_llvm-11c6bab704a0f82f59dcb2f409f7d6ac3b1821f1.zip external_llvm-11c6bab704a0f82f59dcb2f409f7d6ac3b1821f1.tar.gz external_llvm-11c6bab704a0f82f59dcb2f409f7d6ac3b1821f1.tar.bz2 |
add support for recursive phi translation and phi
translation of add with immediate. This allows us
to optimize this function:
void test(int N, double* G) {
long j;
G[1] = 1;
for (j = 1; j < N - 1; j++)
G[j+1] = G[j] + G[j+1];
}
to only do one load every iteration of the loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System/Process.h')
0 files changed, 0 insertions, 0 deletions