[llvm] 898065a - Reword description of ISD::BUILD_VECTOR

Cameron McInally via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 12:41:42 PDT 2020


Author: Cameron McInally
Date: 2020-07-08T14:41:26-05:00
New Revision: 898065a7b879f204874820f16e4e16ea2a961de0

URL: https://github.com/llvm/llvm-project/commit/898065a7b879f204874820f16e4e16ea2a961de0
DIFF: https://github.com/llvm/llvm-project/commit/898065a7b879f204874820f16e4e16ea2a961de0.diff

LOG: Reword description of ISD::BUILD_VECTOR

Move operand type restriction to the end of the description. This
hopefully makes the intention more clear.

Differential Revision: https://reviews.llvm.org/D83413

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/ISDOpcodes.h b/llvm/include/llvm/CodeGen/ISDOpcodes.h
index d121a4d5427f..534f988c5e96 100644
--- a/llvm/include/llvm/CodeGen/ISDOpcodes.h
+++ b/llvm/include/llvm/CodeGen/ISDOpcodes.h
@@ -449,10 +449,10 @@ enum NodeType {
 
   /// BUILD_VECTOR(ELT0, ELT1, ELT2, ELT3,...) - Return a fixed-width vector
   /// 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.
+  /// 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. The types of the operands must all
+  /// be the same.
   BUILD_VECTOR,
 
   /// INSERT_VECTOR_ELT(VECTOR, VAL, IDX) - Returns VECTOR with the element


        


More information about the llvm-commits mailing list