Formating fixes.
authorTanya Lattner <tonic@nondot.org>
Thu, 7 Jun 2007 17:12:16 +0000 (17:12 +0000)
committerTanya Lattner <tonic@nondot.org>
Thu, 7 Jun 2007 17:12:16 +0000 (17:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37491 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/InlineSimple.cpp

index 3a3ad1999c3c35508e09c3eb511b92e5015690dc..4cad5bb6e6452f287e77043d8145d5717f4acb79 100644 (file)
@@ -291,12 +291,12 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
   // Get llvm.noinline
   GlobalVariable *GV = M.getNamedGlobal("llvm.noinline");
   
-  if(GV == 0)
+  if (GV == 0)
     return false;
 
   const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
   
-  if(InitList == 0)
+  if (InitList == 0)
     return false;
 
   // Iterate over each element and add to the NeverInline set
@@ -310,8 +310,8 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
         Elt = CE->getOperand(0);
     
     // Insert into set of functions to never inline
-    if(const Function *f = dyn_cast<Function>(Elt))
-      NeverInline.insert(f);
+    if (const Function *F = dyn_cast<Function>(Elt))
+      NeverInline.insert(F);
   }
   
   return false;