Fix typo in comment. Take out some random whitespace.
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 16 Sep 2003 15:38:05 +0000 (15:38 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 16 Sep 2003 15:38:05 +0000 (15:38 +0000)
(Partial merge from my working file)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8564 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp

index a04d4b8cda197c9dc4d822d2a2fd48c1ce5b216c..6cb241a37a98f04e323ef5ddc18218250fe0122e 100644 (file)
@@ -1397,18 +1397,16 @@ void PhyRegAlloc::allocateStackSpace4SpilledLRs() {
 
 
 //----------------------------------------------------------------------------
-// The entry pont to Register Allocation
+// The entry point to Register Allocation
 //----------------------------------------------------------------------------
 
 void PhyRegAlloc::allocateRegisters()
 {
-
   // make sure that we put all register classes into the RegClassList 
   // before we call constructLiveRanges (now done in the constructor of 
   // PhyRegAlloc class).
   //
   LRI.constructLiveRanges();            // create LR info
-
   if (DEBUG_RA >= RA_DEBUG_LiveRanges)
     LRI.printLiveRanges();
   
@@ -1416,7 +1414,6 @@ void PhyRegAlloc::allocateRegisters()
 
   buildInterferenceGraphs();            // build IGs in all reg classes
   
-  
   if (DEBUG_RA >= RA_DEBUG_LiveRanges) {
     // print all LRs in all reg classes
     for ( unsigned rc=0; rc < NumOfRegClasses  ; rc++)  
index a04d4b8cda197c9dc4d822d2a2fd48c1ce5b216c..6cb241a37a98f04e323ef5ddc18218250fe0122e 100644 (file)
@@ -1397,18 +1397,16 @@ void PhyRegAlloc::allocateStackSpace4SpilledLRs() {
 
 
 //----------------------------------------------------------------------------
-// The entry pont to Register Allocation
+// The entry point to Register Allocation
 //----------------------------------------------------------------------------
 
 void PhyRegAlloc::allocateRegisters()
 {
-
   // make sure that we put all register classes into the RegClassList 
   // before we call constructLiveRanges (now done in the constructor of 
   // PhyRegAlloc class).
   //
   LRI.constructLiveRanges();            // create LR info
-
   if (DEBUG_RA >= RA_DEBUG_LiveRanges)
     LRI.printLiveRanges();
   
@@ -1416,7 +1414,6 @@ void PhyRegAlloc::allocateRegisters()
 
   buildInterferenceGraphs();            // build IGs in all reg classes
   
-  
   if (DEBUG_RA >= RA_DEBUG_LiveRanges) {
     // print all LRs in all reg classes
     for ( unsigned rc=0; rc < NumOfRegClasses  ; rc++)