commit | 075fb5d68fcb55d26e44c48f07dfdbbfa21ccb2a | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Nov 10 20:37:15 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Nov 10 20:37:15 2010 +0000 |
tree | bd2ac0b33edd3125d8741077ff4a5c274276b35e | |
parent | af3d38f70ebba9fec0048c2540dbdf0168d280d2 [diff] |
Enhance GVN to do more precise alias queries for non-local memory references. For example, this allows gvn to eliminate the load in this example: void foo(int n, int* p, int *q) { p[0] = 0; p[1] = 1; if (n) { *q = p[0]; } } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118714 91177308-0d34-0410-b5e6-96231b3b80d8