diff options
author | Dan Gohman <gohman@apple.com> | 2010-02-18 18:22:18 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-02-18 18:22:18 +0000 |
commit | 48f6a3175a195ff58b23fd0c82f3890a2d5d7366 (patch) | |
tree | 07fb51900c6093aea2b9d9615132130671335c77 /docs | |
parent | cf3d08445d8f2626fa1a38c8df3918297433d8de (diff) | |
download | llvm-48f6a3175a195ff58b23fd0c82f3890a2d5d7366.tar.gz llvm-48f6a3175a195ff58b23fd0c82f3890a2d5d7366.tar.bz2 llvm-48f6a3175a195ff58b23fd0c82f3890a2d5d7366.tar.xz |
Clarify that the rules about object hopping kick in when a pointer is
deferenced, rather than when the pointer value is computed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/AdvancedGetElementPtr.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/AdvancedGetElementPtr.html b/docs/AdvancedGetElementPtr.html index 1e48bb33db..b5efe73553 100644 --- a/docs/AdvancedGetElementPtr.html +++ b/docs/AdvancedGetElementPtr.html @@ -44,10 +44,10 @@ where it doesn't do this. With GEP you can avoid this problem. <p>Also, GEP carries additional pointer aliasing rules. It's invalid to take a - GEP from one object and address into a different separately allocated - object. IR producers (front-ends) must follow this rule, and consumers - (optimizers, specifically alias analysis) benefit from being able to rely - on it.</p> + GEP from one object, address into a different separately allocated + object, and deference it. IR producers (front-ends) must follow this rule, + and consumers (optimizers, specifically alias analysis) benefit from being + able to rely on it.</p> <p>And, GEP is more concise in common cases.</p> |