[llvm] r214302 - Correct vector type definition in LangRef.

Manuel Jacob me at manueljacob.de
Wed Jul 30 05:30:07 PDT 2014


Author: mjacob
Date: Wed Jul 30 07:30:06 2014
New Revision: 214302

URL: http://llvm.org/viewvc/llvm-project?rev=214302&view=rev
Log:
Correct vector type definition in LangRef.

According to VectorType::isValidElementType, any integer, floating point
or pointer type is a valid vector element type.

Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=214302&r1=214301&r2=214302&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Wed Jul 30 07:30:06 2014
@@ -1966,8 +1966,8 @@ type. Vector types are considered :ref:`
       < <# elements> x <elementtype> >
 
 The number of elements is a constant integer value larger than 0;
-elementtype may be any integer or floating point type, or a pointer to
-these types. Vectors of size zero are not allowed.
+elementtype may be any integer, floating point or pointer type. Vectors
+of size zero are not allowed.
 
 :Examples:
 





More information about the llvm-commits mailing list