aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-01-07 17:52:24 +0000
committerNate Begeman <natebegeman@mac.com>2008-01-07 17:52:24 +0000
commita95afe2b5fb7a716ff4cc7bb623995a0a4c56411 (patch)
treea8be5af47cdfd320b2f1b40ee6a14991c269a589
parent337c213c18dc22485cd47de7e080d803be3ab0d3 (diff)
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
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index e19b424167..e222e1b463 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.