From: Nate Begeman Date: Mon, 7 Jan 2008 17:52:24 +0000 (+0000) Subject: Update the comment on scalar to vector to be a bit more clear. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a95afe2b5fb7a716ff4cc7bb623995a0a4c56411;p=oota-llvm.git Update the comment on scalar to vector to be a bit more clear. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45707 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index e19b4241673..e222e1b4636 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -309,8 +309,8 @@ namespace ISD { VECTOR_SHUFFLE, /// SCALAR_TO_VECTOR(VAL) - This represents the operation of loading a - /// scalar value into the low element of the resultant vector type. The top - /// elements of the vector are undefined. + /// scalar value into element 0 of the resultant vector type. The top + /// elements 1 to N-1 of the N-element vector are undefined. SCALAR_TO_VECTOR, // EXTRACT_SUBREG - This node is used to extract a sub-register value.