diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-06 15:26:33 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-06 15:26:33 +0000 |
commit | ff70fe40aa64ed260aaff5f77151c3c2fb39b75a (patch) | |
tree | 8aaea07d33def54d8ae22f8d9884927bf5d90de6 /docs/GetElementPtr.html | |
parent | 36335be3b95f856b7eb7e0766e01ba423315e1ab (diff) |
Note the relationship between C99 restrict and LLVM noalias, and
clarify a few other things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GetElementPtr.html')
-rw-r--r-- | docs/GetElementPtr.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/GetElementPtr.html b/docs/GetElementPtr.html index 1bf6f432de..3bf38a366d 100644 --- a/docs/GetElementPtr.html +++ b/docs/GetElementPtr.html @@ -64,7 +64,8 @@ <div class="doc_text"> <p>This document seeks to dispel the mystery and confusion surrounding LLVM's - GetElementPtr (GEP) instruction. Questions about the wily GEP instruction are + <a href="LangRef.html#i_getelementptr">GetElementPtr</a> (GEP) instruction. + Questions about the wily GEP instruction are probably the most frequently occurring questions once a developer gets down to coding with LLVM. Here we lay out the sources of confusion and show that the GEP instruction is really quite simple. @@ -653,7 +654,8 @@ idx3 = (char*) &MyVar + 8 <li>Support C, C-like languages, and languages which can be conceptually lowered into C (this covers a lot).</li> <li>Support optimizations such as those that are common in - C compilers.</li> + C compilers. In particular, GEP is a cornerstone of LLVM's + <a href="LangRef.html#pointeraliasing">pointer aliasing model</a>.</li> <li>Provide a consistent method for computing addresses so that address computations don't need to be a part of load and store instructions in the IR.</li> |