From aeee7b29290ea8902dfd63027beccaa07efb2287 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 25 Feb 2010 15:53:42 +0000 Subject: [PATCH] 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 --- docs/AdvancedGetElementPtr.html | 4 ---- 1 file changed, 4 deletions(-) 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.

- -- 2.34.1