[PATCH] D83413: Tighten description of ISD::BUILD_VECTOR

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 11:59:56 PDT 2020


cameron.mcinally updated this revision to Diff 276509.
cameron.mcinally added a comment.

Remove power-of-2 requirement.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83413/new/

https://reviews.llvm.org/D83413

Files:
  llvm/include/llvm/CodeGen/ISDOpcodes.h


Index: llvm/include/llvm/CodeGen/ISDOpcodes.h
===================================================================
--- llvm/include/llvm/CodeGen/ISDOpcodes.h
+++ llvm/include/llvm/CodeGen/ISDOpcodes.h
@@ -448,11 +448,11 @@
   FCANONICALIZE,
 
   /// BUILD_VECTOR(ELT0, ELT1, ELT2, ELT3,...) - Return a fixed-width vector
-  /// with the specified, possibly variable, elements.  The number of elements
-  /// is required to be a power of two. The types of the operands must all be
-  /// the same and must match the vector element type, except that integer types
-  /// are allowed to be larger than the element type, in which case the operands
-  /// are implicitly truncated.
+  /// with the specified, possibly variable, elements. The types of the
+  /// operands must all be the same. The types of the operands must match the
+  /// vector element type, except that integer types are allowed to be larger
+  /// than the element type, in which case the operands are implicitly
+  /// truncated.
   BUILD_VECTOR,
 
   /// INSERT_VECTOR_ELT(VECTOR, VAL, IDX) - Returns VECTOR with the element


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83413.276509.patch
Type: text/x-patch
Size: 1093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/33ab86f4/attachment.bin>


More information about the llvm-commits mailing list