aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-10 18:20:35 +0000
committerChris Lattner <sabre@nondot.org>2010-10-10 18:20:35 +0000
commit7d2e7bef90785b174a350f3bc4b240256be9831c (patch)
tree7a879eeb6a9712fe54bc34d246726c4a89e4a507
parent74fa7327d690e6ceda6ce77e4e5b8ef75cb12538 (diff)
clarify that zero sized vectors are illegal, PR8340
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116167 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/LangRef.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 704f52bdbc..e5db8c69cf 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1910,8 +1910,9 @@ Classifications</a> </div>
&lt; &lt;# elements&gt; x &lt;elementtype&gt; &gt;
</pre>
-<p>The number of elements is a constant integer value; elementtype may be any
- integer or floating point type.</p>
+<p>The number of elements is a constant integer value larger than 0; elementtype
+ may be any integer or floating point type. Vectors of size zero are not
+ allowed, and pointers are not allowed as the element type.</p>
<h5>Examples:</h5>
<table class="layout">