[llvm-commits] [llvm] r65427 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Scott Michel scottm at aero.org
Tue Feb 24 19:57:49 PST 2009


Author: pingbak
Date: Tue Feb 24 21:57:49 2009
New Revision: 65427

URL: http://llvm.org/viewvc/llvm-project?rev=65427&view=rev
Log:
Expand tabs to spaces (overlooked in previous commit)

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

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

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Tue Feb 24 21:57:49 2009
@@ -1970,7 +1970,7 @@
    */
   bool isConstantSplat(bool &hasUndefSplatBitsFlag, uint64_t &SplatBits,
                        uint64_t &SplatUndef, unsigned &SplatSize,
-		       int MinSplatBits = 0);
+                       int MinSplatBits = 0);
 
   static bool classof(const BuildVectorSDNode *) { return true; }
   static bool classof(const SDNode *N) {

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=65427&r1=65426&r2=65427&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Tue Feb 24 21:57:49 2009
@@ -894,7 +894,7 @@
     SmallVector<SDValue, 8> Ops;
     Ops.assign(VT.getVectorNumElements(), Result);
     Result = getBUILD_VECTOR(VT, DebugLoc::getUnknownLoc(),
-			     &Ops[0], Ops.size());
+                             &Ops[0], Ops.size());
   }
   return Result;
 }
@@ -938,7 +938,7 @@
     SmallVector<SDValue, 8> Ops;
     Ops.assign(VT.getVectorNumElements(), Result);
     Result = getBUILD_VECTOR(VT, DebugLoc::getUnknownLoc(),
-			     &Ops[0], Ops.size());
+                             &Ops[0], Ops.size());
   }
   return Result;
 }
@@ -4855,15 +4855,15 @@
 }
 
 BuildVectorSDNode::BuildVectorSDNode(MVT vecVT, DebugLoc dl,
-				     const SDValue *Elts, unsigned NumElts)
+                                     const SDValue *Elts, unsigned NumElts)
   : SDNode(ISD::BUILD_VECTOR, dl, getSDVTList(vecVT), Elts, NumElts)
 { }
 
 bool BuildVectorSDNode::isConstantSplat(bool &hasUndefSplatBitsFlag,
                                         uint64_t &SplatBits,
                                         uint64_t &SplatUndef,
-					unsigned &SplatSize,
-		                        int MinSplatBits) {
+                                        unsigned &SplatSize,
+                                        int MinSplatBits) {
   unsigned int nOps = getNumOperands();
   assert(nOps > 0 && "isConstantSplat has 0-size build vector");
 
@@ -4890,13 +4890,13 @@
     } else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) {
       EltBits = CN->getZExtValue();
       if (EltBitSize <= 32)
-	EltBits &= (~0U >> (32-EltBitSize));
+        EltBits &= (~0U >> (32-EltBitSize));
     } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) {
       const APFloat &apf = CN->getValueAPF();
       if (OpVal.getValueType() == MVT::f32)
-	EltBits = FloatToBits(apf.convertToFloat());
+        EltBits = FloatToBits(apf.convertToFloat());
       else
-	EltBits = DoubleToBits(apf.convertToDouble());
+        EltBits = DoubleToBits(apf.convertToDouble());
     } else {
       // Nonconstant element -> not a splat.
       return isSplatVector;
@@ -5646,8 +5646,8 @@
 
 typedef SmallPtrSet<const SDNode *, 128> VisitedSDNodeSet;
 static void DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent,
-		       const SelectionDAG *G, VisitedSDNodeSet &once) {
-  if (!once.insert(N))	// If we've been here before, return now.
+                       const SelectionDAG *G, VisitedSDNodeSet &once) {
+  if (!once.insert(N))  // If we've been here before, return now.
     return;
   // Dump the current SDNode, but don't end the line yet.
   OS << std::string(indent, ' ');
@@ -5661,10 +5661,10 @@
       // This child has no grandchildren; print it inline right here.
       child->printr(OS, G);
       once.insert(child);
-    } else {	// Just the address.  FIXME: also print the child's opcode
+    } else {    // Just the address.  FIXME: also print the child's opcode
       OS << (void*)child;
       if (unsigned RN = N->getOperand(i).getResNo())
-	OS << ":" << RN;
+        OS << ":" << RN;
     }
   }
   OS << "\n";





More information about the llvm-commits mailing list