summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-27 19:11:31 +0000
committerChris Lattner <sabre@nondot.org>2009-11-27 19:11:31 +0000
commit2f0354ecf0512a62cf0bd5161d951f39538b6e32 (patch)
tree74b0198a69b2c451d83f041541adf71d9f023636 /clang/lib/CodeGen/CGVtable.cpp
parente66f84e012c2b15aa353a77286b7f68e21f64c36 (diff)
downloadbcm5719-llvm-2f0354ecf0512a62cf0bd5161d951f39538b6e32.tar.gz
bcm5719-llvm-2f0354ecf0512a62cf0bd5161d951f39538b6e32.zip
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. llvm-svn: 90013
Diffstat (limited to 'clang/lib/CodeGen/CGVtable.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud