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
This commit is contained in:
Cameron McInally 2020-07-08 14:38:52 -05:00
parent d2eb409379
commit 898065a7b8
1 changed files with 4 additions and 4 deletions

View File

@ -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