From fe70c08c0931c128294ad749f8d0949f3c6426db 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. llvm-svn: 97139 --- 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.

-