[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp TwoAddressInstructionPass.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 26 11:41:52 PDT 2005



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.150 -> 1.151
TwoAddressInstructionPass.cpp updated: 1.30 -> 1.31
---
Log message:

Fix some spello's pointed out by Gabor Greif


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

 LiveIntervalAnalysis.cpp      |    4 ++--
 TwoAddressInstructionPass.cpp |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.150 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.151
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.150	Fri Oct 21 01:49:50 2005
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Wed Oct 26 13:41:41 2005
@@ -637,7 +637,7 @@
 /// number.  If all of the places that IntA and IntB overlap are defined by
 /// copies from IntA to IntB, we know that these two ranges can really be
 /// merged if we adjust the value numbers.  If it is safe, adjust the value
-/// numbers and return true, allowing coallescing to occur.
+/// numbers and return true, allowing coalescing to occur.
 bool LiveIntervals::
 AdjustIfAllOverlappingRangesAreCopiesFrom(LiveInterval &IntA,
                                           LiveInterval &IntB,
@@ -729,7 +729,7 @@
       // If DestInt is actually a copy from SrcInt (which we know) that is used
       // to define another value of SrcInt, we can change the other range of
       // SrcInt to be the value of the range that defines DestInt, allowing a
-      // coallesce.
+      // coalesce.
       if (!Joinable && DestInt.containsOneValue() &&
           AdjustIfAllOverlappingRangesAreCopiesFrom(SrcInt, DestInt, MIDefIdx))
         Joinable = true;


Index: llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff -u llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:1.30 llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:1.31
--- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:1.30	Thu Apr 21 17:33:33 2005
+++ llvm/lib/CodeGen/TwoAddressInstructionPass.cpp	Wed Oct 26 13:41:41 2005
@@ -46,7 +46,7 @@
   Statistic<> NumTwoAddressInstrs("twoaddressinstruction",
                                   "Number of two-address instructions");
   Statistic<> NumCommuted("twoaddressinstruction",
-                          "Number of instructions commuted to coallesce");
+                          "Number of instructions commuted to coalesce");
   Statistic<> NumConvertedTo3Addr("twoaddressinstruction",
                                 "Number of instructions promoted to 3-address");
 
@@ -127,7 +127,7 @@
 
         // If this instruction is not the killing user of B, see if we can
         // rearrange the code to make it so.  Making it the killing user will
-        // allow us to coallesce A and B together, eliminating the copy we are
+        // allow us to coalesce A and B together, eliminating the copy we are
         // about to insert.
         if (!LV.KillsRegister(mi, regB)) {
           const TargetInstrDescriptor &TID = TII.get(opcode);






More information about the llvm-commits mailing list