From: Dan Gohman Date: Thu, 25 Feb 2010 15:53:42 +0000 (+0000) Subject: Remove this paragraph. Vectors may not always have the same layout as X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=aeee7b29290ea8902dfd63027beccaa07efb2287;p=oota-llvm.git Remove this paragraph. Vectors may not always have the same layout as arrays now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97139 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/AdvancedGetElementPtr.html b/docs/AdvancedGetElementPtr.html index a6baa132192..191e30d8181 100644 --- a/docs/AdvancedGetElementPtr.html +++ b/docs/AdvancedGetElementPtr.html @@ -281,10 +281,6 @@ not recommended. It leads to awkward special cases in the optimizers. In the future, it may be outright disallowed.

-

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.

-