[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Lauro Ramos Venancio lauro.venancio at gmail.com
Tue Feb 13 10:10:29 PST 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.362 -> 1.363
---
Log message:

Add a space between // and the comment.


---
Diffs of the changes:  (+9 -9)

 SelectionDAGISel.cpp |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.362 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.363
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.362	Tue Feb 13 07:50:08 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Tue Feb 13 12:10:13 2007
@@ -2935,9 +2935,9 @@
     bool isSRet  = FTy->paramHasAttr(j, FunctionType::StructRetAttribute);
     unsigned OriginalAlignment =
       getTargetData()->getTypeAlignmentABI(I->getType());
-    //Flags[31:27]-> OriginalAlignment
-    //Flags[2] -> isSRet
-    //Flags[1] -> isInReg
+    // Flags[31:27] -> OriginalAlignment
+    // Flags[2] -> isSRet
+    // Flags[1] -> isInReg
     unsigned Flags = (isInReg << 1) | (isSRet << 2) | (OriginalAlignment << 27);
 
     switch (getTypeAction(VT)) {
@@ -2959,7 +2959,7 @@
         unsigned NumVals = getNumElements(VT);
         for (unsigned i = 0; i != NumVals; ++i) {
           RetVals.push_back(NVT);
-          //if it isn't first piece, alignment must be 1
+          // if it isn't first piece, alignment must be 1
           if (i == 1) Flags = (Flags & 0x07ffffff) | (1 << 27);
           Ops.push_back(DAG.getConstant(Flags, MVT::i32));
         }
@@ -3067,7 +3067,7 @@
                                  bool isFirst = true) {
 
   if (TLI.getTypeAction(VT) != TargetLowering::Expand) {
-    //if it isn't first piece, alignment must be 1
+    // if it isn't first piece, alignment must be 1
     if (!isFirst)
       Flags = (Flags & 0x07ffffff) | (1 << 27);
     Ops.push_back(Arg);
@@ -3121,10 +3121,10 @@
     bool isSRet  = Args[i].isSRet;
     unsigned OriginalAlignment =
       getTargetData()->getTypeAlignmentABI(Args[i].Ty);
-    //Flags[31:27]-> OriginalAlignment
-    //Flags[2] -> isSRet
-    //Flags[1] -> isInReg
-    //Flags[0] -> isSigned
+    // Flags[31:27] -> OriginalAlignment
+    // Flags[2] -> isSRet
+    // Flags[1] -> isInReg
+    // Flags[0] -> isSigned
     unsigned Flags = (isSRet << 2) | (isInReg << 1) | isSigned |
       (OriginalAlignment << 27);
 






More information about the llvm-commits mailing list