Correct vector type definition in LangRef.
authorManuel Jacob <me@manueljacob.de>
Wed, 30 Jul 2014 12:30:06 +0000 (12:30 +0000)
committerManuel Jacob <me@manueljacob.de>
Wed, 30 Jul 2014 12:30:06 +0000 (12:30 +0000)
According to VectorType::isValidElementType, any integer, floating point
or pointer type is a valid vector element type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214302 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst

index a3c0e8988a2249971862101ba77ea3d907848d64..cc801f713132858ce6eb4ae711aec8ca6742e3cb 100644 (file)
@@ -1966,8 +1966,8 @@ type. Vector types are considered :ref:`first class <t_firstclass>`.
       < <# 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: