[llvm-commits] [llvm] r116167 - /llvm/trunk/docs/LangRef.html

Chris Lattner sabre at nondot.org
Sun Oct 10 11:20:35 PDT 2010


Author: lattner
Date: Sun Oct 10 13:20:35 2010
New Revision: 116167

URL: http://llvm.org/viewvc/llvm-project?rev=116167&view=rev
Log:
clarify that zero sized vectors are illegal, PR8340

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=116167&r1=116166&r2=116167&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sun Oct 10 13:20:35 2010
@@ -1910,8 +1910,9 @@
   < <# elements> x <elementtype> >
 </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">





More information about the llvm-commits mailing list