Trim whitespace.
authorBrian Gaeke <gaeke@uiuc.edu>
Sat, 29 May 2004 22:49:51 +0000 (22:49 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sat, 29 May 2004 22:49:51 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13897 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/InstrSelection/InstrSelection.cpp

index b7029db58bf5125c92b2d32184d378ce2cb6e86a..70b5dbc57b052bc7291ac6b635c09f9a00838c3f 100644 (file)
@@ -84,7 +84,6 @@ namespace {
   };
 }
 
-
 TmpInstruction::TmpInstruction(MachineCodeForInstruction& mcfi,
                                Value *s1, Value *s2, const std::string &name)
   : Instruction(s1->getType(), Instruction::UserOp1, name)
@@ -146,11 +145,8 @@ bool InstructionSelection::runOnFunction(Function &F) {
             }
           }
 
-  //
   // Build the instruction trees to be given as inputs to BURG.
-  // 
   InstrForest instrForest(&F);
-  
   if (SelectDebugLevel >= Select_DebugInstTrees) {
     std::cerr << "\n\n*** Input to instruction selection for function "
               << F.getName() << "\n\n" << F
@@ -159,9 +155,7 @@ bool InstructionSelection::runOnFunction(Function &F) {
     instrForest.dump();
   }
   
-  //
   // Invoke BURG instruction selection for each tree
-  // 
   for (InstrForest::const_root_iterator RI = instrForest.roots_begin();
        RI != instrForest.roots_end(); ++RI) {
     InstructionNode* basicNode = *RI;
@@ -169,7 +163,6 @@ bool InstructionSelection::runOnFunction(Function &F) {
       
     // Invoke BURM to label each tree node with a state
     burm_label(basicNode);
-      
     if (SelectDebugLevel >= Select_DebugBurgTrees) {
       printcover(basicNode, 1, 0);
       std::cerr << "\nCover cost == " << treecost(basicNode, 1, 0) <<"\n\n";
@@ -180,11 +173,9 @@ bool InstructionSelection::runOnFunction(Function &F) {
     SelectInstructionsForTree(basicNode, /*goalnt*/1);
   }
   
-  //
   // Create the MachineBasicBlock records and add all of the MachineInstrs
   // defined in the MachineCodeForInstruction objects to also live in the
   // MachineBasicBlock objects.
-  // 
   MachineFunction &MF = MachineFunction::get(&F);
   for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) {
     MachineBasicBlock *MCBB = new MachineBasicBlock(BI);
@@ -222,11 +213,9 @@ void InstructionSelection::InsertCodeForPhis(Function &F) {
 
       // The leak detector shouldn't track these nodes.  They are not garbage,
       // even though their parent field is never filled in.
-      //
       LeakDetector::removeGarbageObject(PhiCpRes);
 
       // for each incoming value of the phi, insert phi elimination
-      //
       for (unsigned i = 0; i < PN->getNumIncomingValues(); ++i) {
         // insert the copy instruction to the predecessor BB
         std::vector<MachineInstr*> mvec, CpVec;