diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-28 16:08:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-28 16:08:18 +0000 |
commit | 32140312ca6e6a17733f95554094245b9fad0b46 (patch) | |
tree | f6dd90f1b0c9009a18b568769f2c59531a9e3ae2 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 930de0aeaf7e13167cdebd200a8cd6ba7b67c1ba (diff) | |
download | llvm-32140312ca6e6a17733f95554094245b9fad0b46.zip llvm-32140312ca6e6a17733f95554094245b9fad0b46.tar.gz llvm-32140312ca6e6a17733f95554094245b9fad0b46.tar.bz2 |
reenable load address insertion in load pre. This allows us to
handle cases like this:
void test(int N, double* G) {
long j;
for (j = 1; j < N - 1; j++)
G[j+1] = G[j] + G[j+1];
}
where G[1] isn't live into the loop.
llvm-svn: 90041
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions