From 898065a7b879f204874820f16e4e16ea2a961de0 Mon Sep 17 00:00:00 2001 From: Cameron McInally Date: Wed, 8 Jul 2020 14:38:52 -0500 Subject: [PATCH] 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 --- llvm/include/llvm/CodeGen/ISDOpcodes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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