clarify that zero sized vectors are illegal, PR8340
authorChris Lattner <sabre@nondot.org>
Sun, 10 Oct 2010 18:20:35 +0000 (18:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Oct 2010 18:20:35 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116167 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 704f52bdbcf4b5a463d23dade0e7a7306a75f66d..e5db8c69cfa666b9baa7b21e9d18c5d1b18cc96a 100644 (file)
@@ -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">