[llvm-commits] [llvm] r97139 - /llvm/trunk/docs/AdvancedGetElementPtr.html
Dan Gohman
gohman at apple.com
Thu Feb 25 07:53:42 PST 2010
Author: djg
Date: Thu Feb 25 09:53:42 2010
New Revision: 97139
URL: http://llvm.org/viewvc/llvm-project?rev=97139&view=rev
Log:
Remove this paragraph. Vectors may not always have the same layout as
arrays now.
Modified:
llvm/trunk/docs/AdvancedGetElementPtr.html
Modified: llvm/trunk/docs/AdvancedGetElementPtr.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/AdvancedGetElementPtr.html?rev=97139&r1=97138&r2=97139&view=diff
==============================================================================
--- llvm/trunk/docs/AdvancedGetElementPtr.html (original)
+++ llvm/trunk/docs/AdvancedGetElementPtr.html Thu Feb 25 09:53:42 2010
@@ -281,10 +281,6 @@
not recommended. It leads to awkward special cases in the optimizers.
In the future, it may be outright disallowed.</p>
- <p>Instead, you should cast your pointer types and use arrays instead of
- vectors for addressing. Arrays have the same in-memory representation
- as vectors, so the addressing is interchangeable.</p>
-
</div>
<!-- *********************************************************************** -->
More information about the llvm-commits
mailing list