[llvm-commits] [llvm] r45707 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Nate Begeman natebegeman at mac.com
Mon Jan 7 09:52:24 PST 2008


Author: sampo
Date: Mon Jan  7 11:52:24 2008
New Revision: 45707

URL: http://llvm.org/viewvc/llvm-project?rev=45707&view=rev
Log:
Update the comment on scalar to vector to be a bit more clear.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=45707&r1=45706&r2=45707&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Mon Jan  7 11:52:24 2008
@@ -309,8 +309,8 @@
     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. 





More information about the llvm-commits mailing list