[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LowerPacked.cpp Reg2Mem.cpp

Anton Korobeynikov asl at math.spbu.ru
Mon Apr 16 11:11:39 PDT 2007



Changes in directory llvm/lib/Transforms/Scalar:

LowerPacked.cpp updated: 1.20 -> 1.21
Reg2Mem.cpp updated: 1.11 -> 1.12
---
Log message:

Removed tabs everywhere except autogenerated & external files. Add make 
target for tabs checking.


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

 LowerPacked.cpp |    2 +-
 Reg2Mem.cpp     |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/Transforms/Scalar/LowerPacked.cpp
diff -u llvm/lib/Transforms/Scalar/LowerPacked.cpp:1.20 llvm/lib/Transforms/Scalar/LowerPacked.cpp:1.21
--- llvm/lib/Transforms/Scalar/LowerPacked.cpp:1.20	Wed Feb 14 21:39:18 2007
+++ llvm/lib/Transforms/Scalar/LowerPacked.cpp	Mon Apr 16 13:10:23 2007
@@ -379,7 +379,7 @@
       new AllocaInst(PTy->getElementType(),
                      ConstantInt::get(Type::Int32Ty, PTy->getNumElements()),
                      EI.getName() + ".alloca", 
-		     EI.getParent()->getParent()->getEntryBlock().begin());
+                     EI.getParent()->getParent()->getEntryBlock().begin());
     for (unsigned i = 0; i < PTy->getNumElements(); ++i) {
       GetElementPtrInst *GEP = 
         new GetElementPtrInst(alloca, ConstantInt::get(Type::Int32Ty, i),


Index: llvm/lib/Transforms/Scalar/Reg2Mem.cpp
diff -u llvm/lib/Transforms/Scalar/Reg2Mem.cpp:1.11 llvm/lib/Transforms/Scalar/Reg2Mem.cpp:1.12
--- llvm/lib/Transforms/Scalar/Reg2Mem.cpp:1.11	Mon Feb  5 17:32:05 2007
+++ llvm/lib/Transforms/Scalar/Reg2Mem.cpp	Mon Apr 16 13:10:23 2007
@@ -44,7 +44,7 @@
       for(Value::use_iterator ii = i->use_begin(), ie = i->use_end();
           ii != ie; ++ii)
         if (cast<Instruction>(*ii)->getParent() != bb ||
-	    isa<PHINode>(*ii))
+            isa<PHINode>(*ii))
           return true;
       return false;
     }
@@ -52,9 +52,9 @@
     virtual bool runOnFunction(Function &F) {
       if (!F.isDeclaration()) {
         //give us a clean block
-	BasicBlock* bbold = &F.getEntryBlock();
-	BasicBlock* bbnew = new BasicBlock("allocablock", &F, &F.getEntryBlock());
-	new BranchInst(bbold, bbnew);
+        BasicBlock* bbold = &F.getEntryBlock();
+        BasicBlock* bbnew = new BasicBlock("allocablock", &F, &F.getEntryBlock());
+        new BranchInst(bbold, bbnew);
 
         //find the instructions
         std::list<Instruction*> worklist;






More information about the llvm-commits mailing list