[llvm-commits] CVS: llvm/tools/bugpoint/ExecutionDriver.cpp Miscompilation.cpp

Jeff Cohen jeffc at jolt-lang.org
Tue Jul 26 23:12:58 PDT 2005



Changes in directory llvm/tools/bugpoint:

ExecutionDriver.cpp updated: 1.56 -> 1.57
Miscompilation.cpp updated: 1.68 -> 1.69
---
Log message:

Eliminate all remaining tabs and trailing spaces.

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

 ExecutionDriver.cpp |    2 +-
 Miscompilation.cpp  |   12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)


Index: llvm/tools/bugpoint/ExecutionDriver.cpp
diff -u llvm/tools/bugpoint/ExecutionDriver.cpp:1.56 llvm/tools/bugpoint/ExecutionDriver.cpp:1.57
--- llvm/tools/bugpoint/ExecutionDriver.cpp:1.56	Thu Jul  7 22:08:58 2005
+++ llvm/tools/bugpoint/ExecutionDriver.cpp	Wed Jul 27 01:12:34 2005
@@ -324,7 +324,7 @@
   Output.eraseFromDisk();
 
   // Remove the bytecode file if we are supposed to.
-  if (RemoveBytecode) 
+  if (RemoveBytecode)
     sys::Path(BytecodeFile).eraseFromDisk();
   return FilesDifferent;
 }


Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.68 llvm/tools/bugpoint/Miscompilation.cpp:1.69
--- llvm/tools/bugpoint/Miscompilation.cpp:1.68	Mon Jul 11 20:00:32 2005
+++ llvm/tools/bugpoint/Miscompilation.cpp	Wed Jul 27 01:12:34 2005
@@ -692,7 +692,7 @@
           GlobalVariable *Cache =
             new GlobalVariable(F->getType(), false,GlobalValue::InternalLinkage,
                                NullPtr,F->getName()+".fpcache", F->getParent());
-          
+
           // Construct a new stub function that will re-route calls to F
           const FunctionType *FuncTy = F->getFunctionType();
           Function *FuncWrapper = new Function(FuncTy,
@@ -702,13 +702,13 @@
           BasicBlock *EntryBB  = new BasicBlock("entry", FuncWrapper);
           BasicBlock *DoCallBB = new BasicBlock("usecache", FuncWrapper);
           BasicBlock *LookupBB = new BasicBlock("lookupfp", FuncWrapper);
-          
+
           // Check to see if we already looked up the value.
           Value *CachedVal = new LoadInst(Cache, "fpcache", EntryBB);
           Value *IsNull = new SetCondInst(Instruction::SetEQ, CachedVal,
                                           NullPtr, "isNull", EntryBB);
           new BranchInst(LookupBB, DoCallBB, IsNull, EntryBB);
-          
+
           // Resolve the call to function F via the JIT API:
           //
           // call resolver(GetElementPtr...)
@@ -721,11 +721,11 @@
           // Save the value in our cache.
           new StoreInst(CastedResolver, Cache, LookupBB);
           new BranchInst(DoCallBB, LookupBB);
-          
+
           PHINode *FuncPtr = new PHINode(NullPtr->getType(), "fp", DoCallBB);
           FuncPtr->addIncoming(CastedResolver, LookupBB);
           FuncPtr->addIncoming(CachedVal, EntryBB);
-          
+
           // Save the argument list.
           std::vector<Value*> Args;
           for (Function::arg_iterator i = FuncWrapper->arg_begin(),
@@ -740,7 +740,7 @@
             CallInst *Call = new CallInst(FuncPtr, Args, "retval", DoCallBB);
             new ReturnInst(Call, DoCallBB);
           }
-          
+
           // Use the wrapper function instead of the old function
           F->replaceAllUsesWith(FuncWrapper);
         }






More information about the llvm-commits mailing list